Skip to content

Commit

Permalink
Add a scrolled window to the preferences data tab
Browse files Browse the repository at this point in the history
Fixes #12968.
  • Loading branch information
Nick-Hall committed Aug 19, 2023
1 parent b4f7f0d commit 8188f65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gramps/gui/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit 8188f65

Please sign in to comment.