Skip to content

Commit 7ba3655

Browse files
committed
Make the scrolled widgets a little bit prettier by expanding dynamically up to a given limit instead of giving them a big minimal height
1 parent dec5b0f commit 7ba3655

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

credentialsd-ui/data/resources/ui/window.ui

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
</child>
7777
<child>
7878
<object class="GtkScrolledWindow">
79-
<property name="min-content-height">256</property>
79+
<property name="vexpand">true</property>
80+
<property name="max-content-height">256</property>
8081
<binding name="child">
8182
<lookup name="devices">
8283
<lookup name="view-model">
@@ -191,7 +192,8 @@
191192
</child>
192193
<child>
193194
<object class="GtkScrolledWindow">
194-
<property name="min-content-height">256</property>
195+
<property name="vexpand">true</property>
196+
<property name="max-content-height">256</property>
195197
<binding name="child">
196198
<lookup name="credentials">
197199
<lookup name="view-model">

0 commit comments

Comments
 (0)