diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-09-03 13:50:51 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-09-03 14:42:44 (GMT) |
commit | bb7effae4d4aad168f67dac316697f401c2d51f5 (patch) | |
tree | 4e39dfd6310cf1e59dc6bbb83a972a3efb6ee590 | |
parent | da01c80908398c411461a0b5b86469ad83179035 (diff) |
Add margin to buttons
-rw-r--r-- | Widgets.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -732,15 +732,18 @@ class PollCanvas(Gtk.Box): if poll.active and not previewing: button = Gtk.Button(_("Vote")) button.connect('clicked', poll.activity.button_vote_cb) + button.props.margin = 10 tabla.attach(button, 0, 1, row, row + 1) elif previewing: button = Gtk.Button(_("Edit Poll")) button.connect('clicked', poll.activity.button_edit_clicked) + button.props.margin = 10 tabla.attach(button, 0, 1, row, row + 1) button = Gtk.Button(_("Save Poll")) button.connect('clicked', self._button_save_cb) + button.props.margin = 10 tabla.attach(button, 1, 2, row, row + 1) self.show_all() |