Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/frame.py3
-rw-r--r--gui/theme.py4
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)