[gtk+/wip/baedert/drawing: 354/355] revealer: Explain CSS oddities



commit 4a89c28d8b3808e667f88986b871d11808820d09
Author: Timm Bäder <mail baedert org>
Date:   Tue Jul 11 12:33:49 2017 +0200

    revealer: Explain CSS oddities

 gtk/gtkrevealer.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c
index 910c691..156fc21 100644
--- a/gtk/gtkrevealer.c
+++ b/gtk/gtkrevealer.c
@@ -52,6 +52,9 @@
  * # CSS nodes
  *
  * GtkRevealer has a single CSS node with name revealer.
+ * When styling #GtkRevealer using CSS, remember that it only hides its contents,
+ * not itself. That means applied margin, padding and borders will be
+ * visible even when the #GtkRevealer:reveal-child property is set to %FALSE.
  *
  * The GtkRevealer widget was added in GTK+ 3.10.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]