region: Make the rows adaptive
Align the sizing of the rows on the one of HdyActionRow and ellipsize the labels to make the panel better fit in narrow windows.
This commit is contained in:
parent
e75cf5b643
commit
f02255090d
1 changed files with 27 additions and 25 deletions
|
@ -49,14 +49,17 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="height_request">50</property>
|
||||||
|
<property name="margin_start">12</property>
|
||||||
|
<property name="margin_end">12</property>
|
||||||
|
<property name="spacing">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">18</property>
|
<property name="ellipsize">end</property>
|
||||||
<property name="margin_bottom">18</property>
|
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
<property name="label" translatable="yes">_Language</property>
|
<property name="label" translatable="yes">_Language</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
|
@ -68,10 +71,8 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="xalign">1</property>
|
<property name="xalign">1</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">18</property>
|
|
||||||
<property name="margin_bottom">18</property>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -82,13 +83,14 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="margin_start">12</property>
|
||||||
|
<property name="margin_end">12</property>
|
||||||
|
<property name="spacing">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">12</property>
|
|
||||||
<property name="margin_bottom">12</property>
|
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
|
@ -105,10 +107,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="restart_button">
|
<object class="GtkButton" id="restart_button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">12</property>
|
|
||||||
<property name="margin_bottom">12</property>
|
|
||||||
<property name="valign">end</property>
|
<property name="valign">end</property>
|
||||||
<property name="label" translatable="yes">Restart…</property>
|
<property name="label" translatable="yes">Restart…</property>
|
||||||
<style>
|
<style>
|
||||||
|
@ -132,14 +132,16 @@
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
<property name="height_request">50</property>
|
||||||
|
<property name="margin_start">12</property>
|
||||||
|
<property name="margin_end">12</property>
|
||||||
|
<property name="spacing">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">18</property>
|
|
||||||
<property name="margin_bottom">18</property>
|
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
<property name="label" translatable="yes">_Formats</property>
|
<property name="label" translatable="yes">_Formats</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
|
@ -151,10 +153,8 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="xalign">1</property>
|
<property name="xalign">1</property>
|
||||||
<property name="margin_start">20</property>
|
<property name="margin_bottom">8</property>
|
||||||
<property name="margin_end">20</property>
|
<property name="margin_top">8</property>
|
||||||
<property name="margin_top">18</property>
|
|
||||||
<property name="margin_bottom">18</property>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -277,7 +277,9 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="margin">18</property>
|
<property name="height_request">50</property>
|
||||||
|
<property name="margin_start">12</property>
|
||||||
|
<property name="margin_end">12</property>
|
||||||
<property name="icon-name">list-add-symbolic</property>
|
<property name="icon-name">list-add-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
Loading…
Add table
Reference in a new issue