[gnome-initial-setup: 2/3] Language: cope with hidden language chooser
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup: 2/3] Language: cope with hidden language chooser
- Date: Sat, 4 Jan 2020 20:23:52 +0000 (UTC)
commit 0bd1fecaf5b6f3b3c13bee4b01b1169f0e511991
Author: Julian Sparber <julian sparber net>
Date: Tue Nov 19 12:39:07 2019 +0100
Language: cope with hidden language chooser
This centers the logo and welcome text on the page when the language
chooser is hidden.
.../pages/language/gis-language-page.ui | 33 +++++++++++++---------
1 file changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/gnome-initial-setup/pages/language/gis-language-page.ui
b/gnome-initial-setup/pages/language/gis-language-page.ui
index 1643e29..8f2a08c 100644
--- a/gnome-initial-setup/pages/language/gis-language-page.ui
+++ b/gnome-initial-setup/pages/language/gis-language-page.ui
@@ -8,21 +8,28 @@
<property name="orientation">vertical</property>
<property name="halign">center</property>
<child>
- <object class="GtkImage" id="logo">
- <property name="visible" bind-source="GisLanguagePage" bind-property="small-screen"
bind-flags="invert-boolean|sync-create"/>
- <property name="can_focus">False</property>
- <property name="margin_top">24</property>
- <property name="pixel_size">96</property>
- <property name="icon_name">start-here-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GisWelcomeWidget" id="welcome_widget">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="margin_top">18</property>
- <property name="margin_bottom">40</property>
- <property name="valign">center</property>
+ <property name="orientation">vertical</property>
<property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="expand" bind-source="language_chooser" bind-property="visible"
bind-flags="invert-boolean|sync-create"/>
+ <child>
+ <object class="GtkImage" id="logo">
+ <property name="visible" bind-source="GisLanguagePage" bind-property="small-screen"
bind-flags="invert-boolean|sync-create"/>
+ <property name="can_focus">False</property>
+ <property name="margin_top">24</property>
+ <property name="pixel_size">96</property>
+ <property name="icon_name">start-here-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GisWelcomeWidget" id="welcome_widget">
+ <property name="visible">True</property>
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">40</property>
+ </object>
+ </child>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]