login: Put the listbox into a clamp

This uses a clamp to more finely control the width of the login listbox,
making it look less cramped when the window is large.

This purposefully leaves the indentaton broken the make the changes
easier to read. They will be fixed in the next commit.
This commit is contained in:
Adrien Plazas 2021-05-28 12:11:34 +02:00 committed by Daniel Garcia Moreno
parent b7050d9793
commit e6609fc30f

View file

@ -47,11 +47,14 @@
<object class="AdwStatusPage">
<property name="icon-name">welcome</property>
<property name="title" translatable="yes">Welcome to Fractal</property>
<child>
<object class="AdwClamp">
<property name="maximum-size">400</property>
<property name="tightening-threshold">300</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">18</property>
<property name="halign">center</property>
<child>
<object class="GtkLabel" id="error_message">
<property name="visible">False</property>
@ -128,6 +131,8 @@
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</child>