[Sugar-devel] [PATCH sugar-artwork 2/2] Theme ScrolledWindow frame - SL #3561
Manuel Quiñones
manuq at laptop.org
Tue Jun 12 23:07:49 EDT 2012
This makes a border (the frame) visible around a ScrolledWindow, when
it is set via ScrolledWindow.set_shadow_type(Gtk.ShadowType). If it's
not set, the result is the same as without this patch.
Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index f31b64e..2a5e34a 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -252,6 +252,16 @@ GtkToggleButton.button:active GtkLabel {
color: @black;
}
+/* Frames */
+
+GtkScrolledWindow.frame {
+ border-style: solid;
+ border-color: @selection_grey;
+ border-width: $(thickness)px;
+ border-radius: 0;
+ padding: 0;
+}
+
/* Combo boxes */
GtkComboBox * {
--
1.7.10.1
More information about the Sugar-devel
mailing list