diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-01-06 04:06:59 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-01-06 04:06:59 (GMT) |
commit | 425e95ea1a1f76c9dc12c4ff5d12012e9ec2705a (patch) | |
tree | b02397ad755fcb54e2d20d40675f55e2a5878d7a /gui | |
parent | 888b7df548a74e6d47e3c2bdf3f95d059a14c74b (diff) |
remove hardcoded heights
Diffstat (limited to 'gui')
-rw-r--r-- | gui/frame.py | 3 | ||||
-rw-r--r-- | gui/theme.py | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/gui/frame.py b/gui/frame.py index b9d0607..aa54312 100644 --- a/gui/frame.py +++ b/gui/frame.py @@ -66,8 +66,7 @@ class Frame(hippo.Canvas): orientation=hippo.ORIENTATION_VERTICAL) self.__root.append(self.__container, hippo.PACK_EXPAND) - self.__page = hippo.CanvasBox(box_height=theme.PAGE_HEIGHT, - background_color=theme.COLOR_PAGE.get_int(), + self.__page = hippo.CanvasBox(background_color=theme.COLOR_PAGE.get_int(), border=4, border_color=theme.COLOR_PAGE_BORDER.get_int(), spacing=8, diff --git a/gui/theme.py b/gui/theme.py index 02add23..20537aa 100644 --- a/gui/theme.py +++ b/gui/theme.py @@ -98,10 +98,6 @@ COLOR_TAB_TEXT = COLOR_WHITE zoom = style.zoom -PAGE_HEIGHT = style.zoom(635) # don't ask -TABS_HEIGHT = style.zoom(480) # 465 450 -PREVIEW_HEIGHT = style.zoom(519) # 564 - PADDING_TAB = style.zoom(6) DEFAULT_PADDING = style.zoom(6) DEFAULT_SPACING = style.zoom(8) |