mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Set vexpand for AdwStatusPages
This commit is contained in:
parent
2928bc92f6
commit
393e74289f
4 changed files with 6 additions and 0 deletions
|
|
@ -106,6 +106,8 @@
|
||||||
<object class="AdwStatusPage" id="status_page">
|
<object class="AdwStatusPage" id="status_page">
|
||||||
<property name="icon-name">network-error-symbolic</property>
|
<property name="icon-name">network-error-symbolic</property>
|
||||||
<property name="title">Error</property>
|
<property name="title">Error</property>
|
||||||
|
<property name="vexpand">true</property>
|
||||||
|
<pr>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="try_again_button">
|
<object class="GtkButton" id="try_again_button">
|
||||||
<property name="label" translatable="yes">Try again</property>
|
<property name="label" translatable="yes">Try again</property>
|
||||||
|
|
|
||||||
|
|
@ -186,6 +186,7 @@
|
||||||
<object class="AdwStatusPage" id="status_page">
|
<object class="AdwStatusPage" id="status_page">
|
||||||
<property name="icon-name">dialog-error-symbolic</property>
|
<property name="icon-name">dialog-error-symbolic</property>
|
||||||
<property name="title">Error</property>
|
<property name="title">Error</property>
|
||||||
|
<property name="vexpand">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="try_again_button">
|
<object class="GtkButton" id="try_again_button">
|
||||||
<property name="label" translatable="yes">Try again</property>
|
<property name="label" translatable="yes">Try again</property>
|
||||||
|
|
@ -222,6 +223,7 @@
|
||||||
<object class="AdwStatusPage" id="disc_status_page">
|
<object class="AdwStatusPage" id="disc_status_page">
|
||||||
<property name="icon-name">action-unavailable-symbolic</property>
|
<property name="icon-name">action-unavailable-symbolic</property>
|
||||||
<property name="title">Error</property>
|
<property name="title">Error</property>
|
||||||
|
<property name="vexpand">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="cancel_button">
|
<object class="GtkButton" id="cancel_button">
|
||||||
<property name="label" translatable="yes">Cancel</property>
|
<property name="label" translatable="yes">Cancel</property>
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@
|
||||||
<object class="AdwStatusPage" id="status_page">
|
<object class="AdwStatusPage" id="status_page">
|
||||||
<property name="icon-name">dialog-error-symbolic</property>
|
<property name="icon-name">dialog-error-symbolic</property>
|
||||||
<property name="title">Error</property>
|
<property name="title">Error</property>
|
||||||
|
<property name="vexpand">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="try_again_button">
|
<object class="GtkButton" id="try_again_button">
|
||||||
<property name="label" translatable="yes">Try again</property>
|
<property name="label" translatable="yes">Try again</property>
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ impl Screen<(), ()> for WelcomeScreen {
|
||||||
.description(&gettext("Get startet by selecting the folder containing your music \
|
.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."))
|
files! Musicus will create a new database there or open one that already exists."))
|
||||||
.child(&button)
|
.child(&button)
|
||||||
|
.vexpand(true)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
button.add_css_class("suggested-action");
|
button.add_css_class("suggested-action");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue