usage: make file history's buttons shrinkable
The homogeneous on their boxes has no visible effect, as the buttons lack hexpand. It, however, still influences the box's minimal width unnecessarily. Thus, removing it decreases the panel's minimal and natural width without a visible change otherwise. Making those buttons can-shrink also decreases their and henceforth the panel's minimal width. With this change, the panel can shrink to a width of 360px, with a natural width not far from it. Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
This commit is contained in:
parent
aec265db7d
commit
c26c52aaee
1 changed files with 5 additions and 4 deletions
|
@ -37,15 +37,15 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="hexpand">false</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="homogeneous">true</property>
|
||||
<property name="spacing">12</property>
|
||||
<property name="margin-top">12</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="clear_recent_button">
|
||||
<property name="valign">center</property>
|
||||
<property name="label" translatable="yes">_Clear History…</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<property name="use_underline">1</property>
|
||||
<signal name="clicked" handler="clear_recent" swapped="yes"/>
|
||||
<style>
|
||||
|
@ -103,9 +103,8 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="hexpand">false</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="homogeneous">true</property>
|
||||
<property name="margin-top">12</property>
|
||||
<property name="spacing">12</property>
|
||||
<child>
|
||||
|
@ -113,6 +112,7 @@
|
|||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="label" translatable="yes">_Empty Trash…</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<property name="use-underline">true</property>
|
||||
<style>
|
||||
<class name="destructive-action"/>
|
||||
|
@ -124,6 +124,7 @@
|
|||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="label" translatable="yes">_Delete Temporary Files…</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<property name="use-underline">true</property>
|
||||
<style>
|
||||
<class name="destructive-action"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue