window, calendar-button: Make text buttons shrinkable
Lets buttons shrink to fit the size they're given. This is important for text buttons so they don't cause our content to overflow our window.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
11abf3460b
commit
832b9132a2
@@ -7,6 +7,7 @@
|
||||
<property name="use-underline">True</property>
|
||||
<property name="label" translatable="yes">_Calendars</property>
|
||||
<property name="popover">popover</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<style>
|
||||
<class name="image-button" />
|
||||
</style>
|
||||
|
||||
@@ -162,6 +162,7 @@
|
||||
<property name="label" translatable="yes">_Today</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="icon-name">calendar-today-symbolic</property>
|
||||
<property name="can-shrink">True</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
@@ -200,6 +201,7 @@
|
||||
<property name="label" translatable="yes">_Today</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="icon-name">calendar-today-symbolic</property>
|
||||
<property name="can-shrink">True</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user