Commit 205b865b authored by Adrien Plazas's avatar Adrien Plazas

librem5: prefs-dialog: Make it adaptive

This makes it fit phones.
parent 457ce599
......@@ -6,7 +6,6 @@
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="resizable">False</property>
<property name="skip_taskbar_hint">True</property>
<property name="use_header_bar">1</property>
<child internal-child="headerbar">
......@@ -40,7 +39,12 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Automatic Updates</property>
<property name="wrap">True</property>
<property name="wrap_mode">word-char</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
......@@ -55,7 +59,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
<property name="valign">start</property>
<property name="valign">center</property>
</object>
<packing>
<property name="left_attach">1</property>
......@@ -66,11 +70,11 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="margin_bottom">15</property>
<property name="label" translatable="yes">Automatic updates are disabled when on mobile or metered connections.</property>
<property name="wrap">True</property>
<property name="width_chars">28</property>
<property name="max_width_chars">28</property>
<property name="wrap_mode">word-char</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
......@@ -79,13 +83,18 @@
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Automatic Update Notifications</property>
<property name="wrap">True</property>
<property name="wrap_mode">word-char</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
......@@ -99,10 +108,10 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Show notifications when updates have been automatically installed.</property>
<property name="wrap">True</property>
<property name="width_chars">28</property>
<property name="max_width_chars">28</property>
<property name="wrap_mode">word-char</property>
<property name="xalign">0</property>
<style>
<class name="dim-label"/>
......@@ -111,6 +120,7 @@
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">2</property>
</packing>
</child>
<child>
......@@ -118,7 +128,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
<property name="valign">start</property>
<property name="valign">center</property>
</object>
<packing>
<property name="left_attach">1</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment