diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2008-05-27 16:08:39 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2008-05-27 16:08:39 (GMT) |
commit | 530b88d189028ce7fa119304e766a7cb6552c313 (patch) | |
tree | 7347b500521568e7a53d1e0eef9189e570cbe35e | |
parent | 1097cafa2248e1f47f387d539c2c2fcb6ce9eee9 (diff) |
Size fixes for small themes, making it fit better with the constants in sugar-toolkit.
-rw-r--r-- | gtk/theme/gtkrc.em | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em index d17a687..352bcf3 100644 --- a/gtk/theme/gtkrc.em +++ b/gtk/theme/gtkrc.em @@ -20,18 +20,19 @@ if theme == "sugar-xo": icon_base = 11 bullet_size = 9.5 font_height = 24 - default_padding = 7 + default_padding = 6 toolbutton_padding = 9 -else: # About 50% smaller +else: # About 72% of the XO size, adjusted so that eg. toolbuttons work xo = False - line_width = 1.0 - thick_line_width = 1.75 - subcell_size = 7 - icon_base = 8 - bullet_size = 5 - font_height = 12 - default_padding = 3 - toolbutton_padding = 6 + line_width = 2.0 # 1.62 rounded up + thick_line_width = 3.0 # 2.52 + subcell_size = 11 # 10.8 + icon_base = 8 # 7.92 + bullet_size = 6.5 # 6.84 + # This is a guess on the font size (Sans 10 at 96 DPI) + font_height = 17 + default_padding = 4 # 4.32 + toolbutton_padding = 6 # 7.68 radio_size = my_floor(subcell_size + bullet_size + line_width) |