info: Add a scrolled window and a column to the overview

This will allow the panel to reach smaller sizes.

This deliberately doesn't adapt the indentation of the contained widget
to help this commit to be more readable and easier to review, it will be
adapted in the next commit.
This commit is contained in:
Adrien Plazas 2019-01-29 16:35:23 +01:00
parent ba6106dfca
commit d4daa8d2c7

View file

@ -4,14 +4,26 @@
<template class="CcInfoOverviewPanel" parent="CcPanel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="halign">center</property>
<property name="expand">True</property>
<property name="margin">24</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="valign">center</property>
<property name="halign">center</property>
<property name="spacing">18</property>
<property name="orientation">vertical</property>
<child>
@ -332,6 +344,10 @@
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>