Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a scrolled window to the preferences data tab #1525

Merged
merged 1 commit into from
Aug 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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