datetime: Use a scrolled window and a column
This better allows to handle short windows and better handle the available width.
This commit is contained in:
parent
91af270cce
commit
fd0b45d6c3
1 changed files with 330 additions and 314 deletions
|
@ -272,14 +272,25 @@
|
|||
<template class="CcDateTimePanel" parent="CcPanel">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">False</property>
|
||||
<property name="hscrollbar-policy">never</property>
|
||||
<child>
|
||||
<object class="HdyColumn">
|
||||
<property name="visible">True</property>
|
||||
<property name="maximum_width">600</property>
|
||||
<property name="linear_growth_width">400</property>
|
||||
<property name="margin_top">32</property>
|
||||
<property name="margin_bottom">32</property>
|
||||
<property name="margin_start">12</property>
|
||||
<property name="margin_end">12</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_start">134</property>
|
||||
<property name="margin_end">134</property>
|
||||
<property name="margin_top">32</property>
|
||||
<property name="margin_bottom">32</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">32</property>
|
||||
<child>
|
||||
|
@ -631,6 +642,10 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
<object class="GtkSizeGroup" id="row_sizegroup">
|
||||
<property name="mode">vertical</property>
|
||||
|
@ -643,3 +658,4 @@
|
|||
</widgets>
|
||||
</object>
|
||||
</interface>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue