[gtk+/wip/baedert/drawing: 2/8] revealer: Explain CSS oddities



commit afc759b80bfdb7ba2ede09cdc088c8b887dbff5a
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 828453b..05a4132 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]