diff options
author | fiaxh <git@lightrise.org> | 2022-02-14 14:55:59 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-07-27 20:34:20 +0200 |
commit | 7e7dcedaf31ee35499875491c9f569c575d28435 (patch) | |
tree | 0c5fee2b28baf320775fbc92b3c252e97d9d054f /main/data/unified_window_placeholder.ui | |
parent | f25bfb00969a7e09996da2d5500e6718f4cc0148 (diff) | |
download | dino-7e7dcedaf31ee35499875491c9f569c575d28435.tar.gz dino-7e7dcedaf31ee35499875491c9f569c575d28435.zip |
Port from GTK3 to GTK4
Diffstat (limited to 'main/data/unified_window_placeholder.ui')
-rw-r--r-- | main/data/unified_window_placeholder.ui | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/main/data/unified_window_placeholder.ui b/main/data/unified_window_placeholder.ui index 88186f62..32fcd819 100644 --- a/main/data/unified_window_placeholder.ui +++ b/main/data/unified_window_placeholder.ui @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> + <requires lib="gtk" version="4.0"/> <template class="DinoUiMainWindowPlaceholder"> <property name="valign">center</property> <property name="visible">True</property> @@ -8,14 +9,15 @@ <property name="orientation">vertical</property> <property name="valign">center</property> <property name="halign">center</property> - <property name="hexpand">True</property> - <property name="visible">True</property> + <property name="hexpand">1</property> <child> <object class="GtkImage"> <property name="icon-name">im.dino.Dino-symbolic</property> <property name="pixel-size">144</property> - <property name="margin">30</property> - <property name="visible">True</property> + <property name="margin-start">30</property> + <property name="margin-end">30</property> + <property name="margin-top">30</property> + <property name="margin-bottom">30</property> <style> <class name="dim-label"/> </style> @@ -23,22 +25,18 @@ </child> <child> <object class="GtkLabel" id="title_label"> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> + <property name="visible">0</property> <style> <class name="dim-label"/> </style> <attributes> - <attribute name="scale" value="1.3"/> + <attribute name="scale" value="1.3"></attribute> </attributes> </object> </child> <child> <object class="GtkLabel" id="label"> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> <property name="margin-top">5</property> - <property name="visible">True</property> <style> <class name="dim-label"/> </style> @@ -48,7 +46,6 @@ <object class="GtkButton" id="primary_button"> <property name="margin-top">15</property> <property name="halign">center</property> - <property name="visible">True</property> <style> <class name="text-button"/> <class name="suggested-action"/> @@ -57,8 +54,9 @@ </child> <child> <object class="GtkButton" id="secondary_button"> + <property name="visible">0</property> <property name="halign">center</property> - <property name="no_show_all">True</property> +<!-- <property name="no_show_all">True</property>--> <style> <class name="text-button"/> </style> |