window: Move action widgets at small widths
Moves the action widgets (Today, New Event, Search) to an action bar when the window shrinks.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
4cc727f48d
commit
78d9dd1e8e
@@ -100,6 +100,7 @@
|
||||
<child>
|
||||
<object class="AdwLeaflet" id="leaflet">
|
||||
<property name="homogeneous">False</property>
|
||||
<signal name="notify::folded" handler="on_folded_notify_cb" object="GcalWindow" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="hexpand">False</property>
|
||||
@@ -143,6 +144,11 @@
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkActionBar" id="action_bar">
|
||||
<property name="revealed" bind-source="leaflet" bind-property="folded" bind-flags="sync-create"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
||||
Reference in New Issue
Block a user