calendars-page: Add AdwClamp to contrain the size
This commit is contained in:
committed by
Jean-François Fortin Tam
parent
5a1fce406b
commit
b270176d02
@@ -28,22 +28,29 @@
|
||||
<property name="hscrollbar_policy">never</property>
|
||||
<property name="max_content_height">600</property>
|
||||
<property name="propagate_natural_height">True</property>
|
||||
<property name="child">
|
||||
|
||||
<child>
|
||||
<object class="GtkListBox" id="listbox">
|
||||
<property name="margin-top">24</property>
|
||||
<property name="margin-bottom">24</property>
|
||||
<property name="margin-start">24</property>
|
||||
<property name="margin-end">24</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="selection-mode">none</property>
|
||||
<signal name="row-activated" handler="on_listbox_row_activated_cb" object="GcalCalendarsPage" swapped="no" />
|
||||
<style>
|
||||
<class name="calendars-list"/>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="AdwClamp">
|
||||
<property name="child">
|
||||
|
||||
<object class="GtkListBox" id="listbox">
|
||||
<property name="margin-top">24</property>
|
||||
<property name="margin-bottom">24</property>
|
||||
<property name="margin-start">24</property>
|
||||
<property name="margin-end">24</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="selection-mode">none</property>
|
||||
<signal name="row-activated" handler="on_listbox_row_activated_cb" object="GcalCalendarsPage" swapped="no" />
|
||||
<style>
|
||||
<class name="calendars-list"/>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
</object>
|
||||
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</property>
|
||||
|
||||
</object>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user