diff options
author | Adrien Plazas <kekun.plazas@laposte.net> | 2023-01-26 13:52:23 +0100 |
---|---|---|
committer | Adrien Plazas <kekun.plazas@laposte.net> | 2023-01-26 13:55:08 +0100 |
commit | c32fc97c6392781626362d56c5b286352499a826 (patch) | |
tree | e6ecfe9c385699037d86c6db5512b38379f1cc31 /data/ui | |
parent | 14237ef6e68de962b5b963be439510f8b3c164e9 (diff) | |
download | gnome-maps-c32fc97c6392781626362d56c5b286352499a826.tar.gz |
export-view-dialog: Make the window work on phones
This changes the layout to make it more compact and makes the window
resizable so it can fit phones.
Diffstat (limited to 'data/ui')
-rw-r--r-- | data/ui/export-view-dialog.ui | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/data/ui/export-view-dialog.ui b/data/ui/export-view-dialog.ui index 69601863..ab4f5671 100644 --- a/data/ui/export-view-dialog.ui +++ b/data/ui/export-view-dialog.ui @@ -2,7 +2,8 @@ <interface> <requires lib="gtk" version="4.0"/> <template class="Gjs_ExportViewDialog" parent="GtkDialog"> - <property name="resizable">0</property> + <property name="default-height">360</property> + <property name="default-width">360</property> <property name="title" translatable="1">Export view</property> <child internal-child="headerbar"> <object class="GtkHeaderBar" id="headerBar"> @@ -47,7 +48,7 @@ <property name="column_spacing">8</property> <child> <object class="GtkFrame" id="frame"> - <property name="valign">start</property> + <property name="vexpand">True</property> <property name="child"> <object class="GtkImage" id="previewArea"> <property name="vexpand">True</property> @@ -56,28 +57,25 @@ </property> <layout> <property name="column">0</property> + <property name="column-span">2</property> <property name="row">0</property> - <property name="row-span">3</property> </layout> </object> </child> <child> <object class="GtkEntry" id="filenameEntry"> <property name="focusable">1</property> - <property name="valign">start</property> + <property name="hexpand">True</property> <property name="activates_default">1</property> - <property name="width_chars">32</property> <layout> - <property name="column">2</property> - <property name="row">0</property> + <property name="column">0</property> + <property name="row">1</property> </layout> </object> </child> <child> <object class="GtkButton" id="fileChooserButton"> <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="vexpand">True</property> <child> <object class="GtkImage" id="favorites-button-image"> <property name="icon-size">normal</property> @@ -85,7 +83,7 @@ </object> </child> <layout> - <property name="column">2</property> + <property name="column">1</property> <property name="row">1</property> </layout> </object> |