From baa3c8da29af243c937e0181723cd670e3fb6f57 Mon Sep 17 00:00:00 2001 From: "uspallek@bart.dsl" Date: Tue, 5 Aug 2008 09:36:53 +0200 Subject: [PATCH] Cedk: You can set the size of the dialog to something like (500, 300), but to have the table with the right size, you must call "dialog_vbox.pack_start(table)" after filling all the table. (here it is just before self.dialog.vbox.pack_start(dialog_vbox) --- tryton/gui/window/dbcreate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/dbcreate.py b/tryton/gui/window/dbcreate.py index 5bfee5a00f..788eb0e49b 100644 --- a/tryton/gui/window/dbcreate.py +++ b/tryton/gui/window/dbcreate.py @@ -271,6 +271,7 @@ class DBCreate(object): self.entry_adminpasswd2.connect("key-press-event", \ self.event_passwd_clear) self.entry_serverpasswd.grab_focus() + dialog_vbox.pack_start(table) self.dialog.vbox.pack_start(dialog_vbox) self.sig_login = sig_login