From 8188f65e4da965fac9b8beea763daa722ce62db5 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 18 Aug 2023 22:11:14 +0100 Subject: [PATCH] Add a scrolled window to the preferences data tab Fixes #12968. --- gramps/gui/configure.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index 542e33893f3..3cca772a3ad 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -1392,7 +1392,10 @@ def add_data_panel(self, configdialog): """ Config tab with user Appearance and format settings. """ + scroll_window = Gtk.ScrolledWindow() + scroll_window.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) grid = self.create_grid() + scroll_window.add(grid) label = self.add_text( grid, _("Display Options"), 0, line_wrap=True, bold=True, start=0, stop=3 @@ -1693,7 +1696,7 @@ def add_data_panel(self, configdialog): ) label.set_margin_top(10) - return _("Data"), grid + return _("Data"), scroll_window def auto_title_changed(self, obj): """