[gtk+/wip/baedert/drawing: 373/396] revealer: Explain CSS oddities
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 373/396] revealer: Explain CSS oddities
- Date: Wed, 19 Jul 2017 11:41:44 +0000 (UTC)
commit 225f9fe0623c7eee634f3df7a53360993ac12d10
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]