[gnome-control-center] info: Add a scrolled window and a column to the overview
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Add a scrolled window and a column to the overview
- Date: Tue, 29 Jan 2019 17:01:38 +0000 (UTC)
commit d4daa8d2c7e118e1fc604d64cad9ee7bd236a9f8
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Jan 29 16:35:23 2019 +0100
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.
panels/info/cc-info-overview-panel.ui | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/panels/info/cc-info-overview-panel.ui b/panels/info/cc-info-overview-panel.ui
index 219a83c4c..738b4742e 100644
--- a/panels/info/cc-info-overview-panel.ui
+++ b/panels/info/cc-info-overview-panel.ui
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]