Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pages/submit.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-04 10:47:30 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-04 10:47:30 (GMT)
commit38a31f06849ac8543816bb58ca3a00d6e2c79019 (patch)
tree7681728ba99258351fdf5767418fad3462f3a5a6 /pages/submit.py
parent72c1ff45c4ba0517c15d1444d638ad06a4d2f84c (diff)
adapt to non-XO screen resolution
Diffstat (limited to 'pages/submit.py')
-rw-r--r--pages/submit.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pages/submit.py b/pages/submit.py
index 22a510d..aed4dbe 100644
--- a/pages/submit.py
+++ b/pages/submit.py
@@ -44,13 +44,11 @@ class JokeEditor(Page):
padding=4,
border_color=theme.COLOR_RED.get_int(),
border=0,
- xalign=hippo.ALIGNMENT_START,
orientation=hippo.ORIENTATION_HORIZONTAL)
# left column
self.left = hippo.CanvasBox(border=0,
border_color=theme.COLOR_RED.get_int(),
- box_width=450,
xalign=hippo.ALIGNMENT_START,
orientation=hippo.ORIENTATION_VERTICAL,
padding=theme.BORDER_WIDTH_CONTROL/2)
@@ -60,8 +58,7 @@ class JokeEditor(Page):
# right column
self.right = hippo.CanvasBox(border=0,
border_color=theme.COLOR_RED.get_int(),
- box_width=350,
- xalign=hippo.ALIGNMENT_START,
+ padding=theme.SPACER_HORIZONTAL,
orientation=hippo.ORIENTATION_VERTICAL,
padding_bottom=theme.BORDER_WIDTH_CONTROL/2,
spacing=theme.BORDER_WIDTH_CONTROL/2)
@@ -78,7 +75,7 @@ class JokeEditor(Page):
self.right.append(self.make_textbox(joke, 'answer'))
self.append(self.left)
- self.append(self.right)
+ self.append(self.right, hippo.PACK_EXPAND)
class Submit(Page):