From d7056f5d22942cac6d4f6617c0fa99ebc8497b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 11 Jul 2017 12:33:49 +0200 Subject: [PATCH] revealer: Explain CSS oddities --- gtk/gtkrevealer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c index 828453b855..05a4132ab2 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. */