Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2013-08-08 14:18:18 (GMT)
committer flavio <fdanesse@gmail.com>2013-08-08 14:18:18 (GMT)
commit0e918305f7f94070dc9ec21f911dc40952e697c0 (patch)
tree8f7079941dd0f240b055c5528dcde1e606260532
parent1f1f619c086da32f017bd6100ffb15a4bda76c69 (diff)
Correcciones
-rw-r--r--poll.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/poll.py b/poll.py
index db62940..ad4babc 100644
--- a/poll.py
+++ b/poll.py
@@ -391,8 +391,10 @@ class PollBuilder(activity.Activity):
votes_total = self._poll.vote_count
title = Gtk.Label(label=self._poll.title)
+ title.set_alignment(0.0, 0.5)
self.poll_details_box_head.pack_start(title, True, True, 10)
question = Gtk.Label(label=self._poll.question)
+ question.set_alignment(0.0, 0.5)
self.poll_details_box_head.pack_start(question, True, True, 10)
answer_box = Gtk.VBox()
@@ -424,7 +426,7 @@ class PollBuilder(activity.Activity):
if not self._poll.active:
label = Gtk.Label(self._poll.options[choice])
label.set_size_request(100, -1)
- answer_row.pack_start(label, False, False, 10)
+ answer_box.pack_start(label, False, False, 10)
if self._view_answer or not self._poll.active:
if votes_total > 0:
@@ -448,8 +450,10 @@ class PollBuilder(activity.Activity):
if self._view_answer or not self._poll.active:
# Line above total
- line_box = Gtk.HBox()
- answer_box.pack_start(line_box, True, True, 10)
+ eventbox = Gtk.EventBox()
+ eventbox.set_size_request(300, 15)
+ eventbox.modify_bg(0, Gdk.Color.parse('#FF0198')[1])
+ answer_box.pack_start(eventbox, True, True, 10)
# total votes
totals_box = Gtk.HBox()