fix: GTK client prefs window too large for small displays (#5276)

This commit is contained in:
Charles Kerr 2023-03-22 10:51:05 -05:00 committed by GitHub
parent d63165e8a4
commit a2bece2682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -56,6 +56,7 @@
</child>
<child>
<object class="GtkNotebook" id="dialog_pages">
<property name="height-request">-1</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
@ -1153,6 +1154,7 @@
</child>
<child>
<object class="GtkBox" id="network_page_layout">
<property name="height-request">-1</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="border-width">12</property>
@ -1545,11 +1547,12 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-start">18</property>
<property name="vexpand">True</property>
<property name="row-spacing">6</property>
<property name="column-spacing">12</property>
<child>
<object class="GtkScrolledWindow" id="default_trackers_scroll">
<property name="height-request">166</property>
<property name="height-request">100</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hexpand">True</property>
@ -1563,6 +1566,7 @@
To add a backup URL, add it on the next line after a primary URL.
To add a new primary URL, add it after a blank line.</property>
<property name="vexpand">True</property>
</object>
</child>
</object>

View File

@ -12,6 +12,7 @@
<property name="vexpand">1</property>
<child>
<object class="GtkNotebook" id="dialog_pages">
<property name="height-request">-1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<child>
@ -798,6 +799,7 @@
<property name="position">4</property>
<property name="child">
<object class="GtkBox" id="network_page_layout">
<property name="height-request">-1</property>
<property name="css-classes">tr-pad-large</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
@ -1070,9 +1072,10 @@
<property name="margin-start">18</property>
<property name="row-spacing">6</property>
<property name="column-spacing">12</property>
<property name="vexpand">True</property>
<child>
<object class="GtkScrolledWindow" id="default_trackers_scroll">
<property name="height-request">166</property>
<property name="height-request">100</property>
<property name="focusable">1</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
@ -1085,6 +1088,7 @@
To add a backup URL, add it on the next line after a primary URL.
To add a new primary URL, add it after a blank line.</property>
<property name="vexpand">True</property>
</object>
</property>
<layout>