[gnome-software] repos dialog: Scroll the entire view, not just the repo list
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] repos dialog: Scroll the entire view, not just the repo list
- Date: Tue, 20 Feb 2018 12:33:13 +0000 (UTC)
commit bf00a4e1e74a06f4f82513f467d178b9fac66a73
Author: Kalev Lember <klember redhat com>
Date: Tue Feb 20 13:28:53 2018 +0100
repos dialog: Scroll the entire view, not just the repo list
https://gitlab.gnome.org/GNOME/gnome-software/issues/305
src/gs-repos-dialog.ui | 94 +++++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
---
diff --git a/src/gs-repos-dialog.ui b/src/gs-repos-dialog.ui
index f4d3d730..76b96055 100644
--- a/src/gs-repos-dialog.ui
+++ b/src/gs-repos-dialog.ui
@@ -112,68 +112,68 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="box1">
+ <object class="GtkScrolledWindow" id="scrolledwindow">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_start">52</property>
- <property name="margin_end">52</property>
- <property name="margin_top">24</property>
- <property name="margin_bottom">40</property>
- <property name="orientation">vertical</property>
- <property name="spacing">4</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">never</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">none</property>
<child>
- <object class="GtkLabel" id="label_description">
+ <object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="wrap">True</property>
- <property name="max_width_chars">30</property>
- <property name="margin_bottom">16</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="frame_third_party">
- <property name="visible">True</property>
- <property name="shadow_type">in</property>
- <property name="halign">fill</property>
- <property name="valign">start</property>
- <property name="margin_bottom">16</property>
+ <property name="margin_start">52</property>
+ <property name="margin_end">52</property>
+ <property name="margin_top">24</property>
+ <property name="margin_bottom">40</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">4</property>
<child>
- <object class="GtkListBox" id="listbox_third_party">
+ <object class="GtkLabel" id="label_description">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="selection_mode">none</property>
+ <property name="xalign">0</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">30</property>
+ <property name="margin_bottom">16</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame_third_party">
+ <property name="visible">True</property>
+ <property name="shadow_type">in</property>
+ <property name="halign">fill</property>
+ <property name="valign">start</property>
+ <property name="margin_bottom">16</property>
<child>
- <object class="GsReposDialogRow" id="row_third_party">
+ <object class="GtkListBox" id="listbox_third_party">
<property name="visible">True</property>
- <property name="activatable">False</property>
+ <property name="can_focus">False</property>
+ <property name="selection_mode">none</property>
+ <child>
+ <object class="GsReposDialogRow" id="row_third_party">
+ <property name="visible">True</property>
+ <property name="activatable">False</property>
+ </object>
+ </child>
</object>
</child>
</object>
</child>
- </object>
- </child>
- <child>
- <object class="GtkScrolledWindow" id="scrolledwindow">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">never</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">none</property>
- <property name="margin_top">9</property>
<child>
<object class="GtkFrame" id="frame">
<property name="visible">True</property>
<property name="shadow_type">in</property>
<property name="halign">fill</property>
<property name="valign">start</property>
+ <property name="margin_top">9</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
@@ -182,12 +182,12 @@
</object>
</child>
</object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
</child>
</object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
</child>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]