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">
|
<template class="CcDateTimePanel" parent="CcPanel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</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>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</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="orientation">vertical</property>
|
||||||
<property name="spacing">32</property>
|
<property name="spacing">32</property>
|
||||||
<child>
|
<child>
|
||||||
|
@ -631,6 +642,10 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</template>
|
</template>
|
||||||
<object class="GtkSizeGroup" id="row_sizegroup">
|
<object class="GtkSizeGroup" id="row_sizegroup">
|
||||||
<property name="mode">vertical</property>
|
<property name="mode">vertical</property>
|
||||||
|
@ -643,3 +658,4 @@
|
||||||
</widgets>
|
</widgets>
|
||||||
</object>
|
</object>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue