[Sugar-devel] [PATCH sugar-artwork] Set height for all the GtkNotebook tabs

Daniel Francis francis at sugarlabs.org
Wed Sep 26 15:47:42 EDT 2012


This is the second item of SL#3923.
Set the same height for all the tabs, with or without icons.

Signed-off-by: Daniel Francis <francis at sugarlabs.org>
---
 gtk3/theme/gtk-widgets.css.em | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 24a4c17..8dd420c 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -310,6 +310,8 @@ GtkComboBox .separator {
 .notebook tab {
     background-color: @selection_grey;
     color: @white;
+    padding-top: $(icon_large * 0.30)px;
+    padding-bottom: $(icon_large * 0.30)px;
 }
 
 .notebook tab GtkLabel {
-- 
1.7.11.4



More information about the Sugar-devel mailing list