Set vexpand for AdwStatusPages

This commit is contained in:
Elias Projahn 2021-02-11 15:33:54 +01:00
parent 2928bc92f6
commit 393e74289f
4 changed files with 6 additions and 0 deletions

View file

@ -106,6 +106,8 @@
<object class="AdwStatusPage" id="status_page">
<property name="icon-name">network-error-symbolic</property>
<property name="title">Error</property>
<property name="vexpand">true</property>
<pr>
<child>
<object class="GtkButton" id="try_again_button">
<property name="label" translatable="yes">Try again</property>

View file

@ -186,6 +186,7 @@
<object class="AdwStatusPage" id="status_page">
<property name="icon-name">dialog-error-symbolic</property>
<property name="title">Error</property>
<property name="vexpand">true</property>
<child>
<object class="GtkButton" id="try_again_button">
<property name="label" translatable="yes">Try again</property>
@ -222,6 +223,7 @@
<object class="AdwStatusPage" id="disc_status_page">
<property name="icon-name">action-unavailable-symbolic</property>
<property name="title">Error</property>
<property name="vexpand">true</property>
<child>
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="yes">Cancel</property>

View file

@ -107,6 +107,7 @@
<object class="AdwStatusPage" id="status_page">
<property name="icon-name">dialog-error-symbolic</property>
<property name="title">Error</property>
<property name="vexpand">true</property>
<child>
<object class="GtkButton" id="try_again_button">
<property name="label" translatable="yes">Try again</property>

View file

@ -34,6 +34,7 @@ impl Screen<(), ()> for WelcomeScreen {
.description(&gettext("Get startet by selecting the folder containing your music \
files! Musicus will create a new database there or open one that already exists."))
.child(&button)
.vexpand(true)
.build();
button.add_css_class("suggested-action");