changeset f293d41e2a36 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=f293d41e2a36
description:
Restore automatic scrolling on wizard dialog
The scrolls are disable to compute the best size but if the result is
too big,
we must allow user to scroll.
issue9494
review294221002
diffstat:
tryton/gui/window/wizard.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r f51305ab6068 -r f293d41e2a36 tryton/gui/window/wizard.py
--- a/tryton/gui/window/wizard.py Sat Jul 25 00:49:32 2020 +0200
+++ b/tryton/gui/window/wizard.py Mon Aug 10 23:21:03 2020 +0200
@@ -354,6 +354,11 @@
current_view.scroll.set_policy(
Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER)
self.show()
+ self.scrolledwindow.set_policy(
+ Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
+ if current_view.scroll:
+ current_view.scroll.set_policy(
+ Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
def destroy(self, action=None):
super(WizardDialog, self).destroy(action=action)