From 60b88ad103e9c8035d68dfa67c1428c355fe4864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 28 Oct 2008 11:44:12 +0100 Subject: [PATCH] Add some spacing on DateTime widget --- tryton/gui/window/view_form/view/form_gtk/calendar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/calendar.py b/tryton/gui/window/view_form/view/form_gtk/calendar.py index f1ff305d6f..5421f4a745 100644 --- a/tryton/gui/window/view_form/view/form_gtk/calendar.py +++ b/tryton/gui/window/view_form/view/form_gtk/calendar.py @@ -257,8 +257,9 @@ class DateTime(WidgetInterface): gtk.STOCK_OK, gtk.RESPONSE_OK)) win.set_has_separator(True) win.set_icon(TRYTON_ICON) + win.vbox.set_spacing(2) - hbox = gtk.HBox() + hbox = gtk.HBox(spacing=2) hbox.pack_start(gtk.Label(_('Hour:')), expand=False, fill=False) widget_hour = gtk.SpinButton(gtk.Adjustment(0, 0, 23, 1, 5), 1, 0) hbox.pack_start(widget_hour, expand=True, fill=True)