diff options
author | Timm Bäder <mail@baedert.org> | 2017-07-11 12:33:49 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:16 -0400 |
commit | d7056f5d22942cac6d4f6617c0fa99ebc8497b93 (patch) | |
tree | 6290f743d1dcea2987d4fa7eada27259b8d8f003 /gtk/gtkrevealer.c | |
parent | 36ab70ddf5dbe993eb995bd9157f347258765922 (diff) | |
download | gtk+-d7056f5d22942cac6d4f6617c0fa99ebc8497b93.tar.gz |
revealer: Explain CSS oddities
Diffstat (limited to 'gtk/gtkrevealer.c')
-rw-r--r-- | gtk/gtkrevealer.c | 3 |
1 files changed, 3 insertions, 0 deletions
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. */ |