From 9801ef89b48c51f6ecb2bbd73754010e9081045c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 8 Jun 2008 16:00:19 +0200 Subject: [PATCH] Align left for float_time widget in list view --- tryton/gui/window/view_form/view/list_gtk/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/list_gtk/parser.py b/tryton/gui/window/view_form/view/list_gtk/parser.py index c2598200f9..c999a1dabd 100644 --- a/tryton/gui/window/view_form/view/list_gtk/parser.py +++ b/tryton/gui/window/view_form/view/list_gtk/parser.py @@ -197,7 +197,8 @@ class Char(object): cell.set_property('text', text) color = self.get_color(model) cell.set_property('foreground', str(color)) - if self.attrs['type'] in ('float', 'integer', 'boolean', 'numeric'): + if self.attrs['type'] in ('float', 'integer', 'boolean', 'numeric', + 'float_time'): align = 1 else: align = 0