[gnome-packagekit] Set minimum content height for scrolledwindows
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Set minimum content height for scrolledwindows
- Date: Thu, 28 May 2015 12:14:32 +0000 (UTC)
commit 880ee9f090d3adfcb3c84b1f10d5edfa888b0fa3
Author: Kalev Lember <kalevlember gmail com>
Date: Thu May 28 12:42:07 2015 +0200
Set minimum content height for scrolledwindows
Previously, gtk+ would set a minimum height to display scroll bars. With
the overlay scrollbars in 3.16, gtk+ no longer does that and scrolled
windows end up with a minimum size of 1px by default.
The minimum size of 1px led the package details view to shrink to just a
single dotted line, with no way to resize it to make it readable; for
others such as the package view, they showed up in a right size, but it
was possible to resize the window and reduce them to just a dotted line.
Request a minimum content height of 100 pixels for all scrolledwindows
to work this around.
data/gpk-application.ui | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/gpk-application.ui b/data/gpk-application.ui
index b154131..a76eda2 100644
--- a/data/gpk-application.ui
+++ b/data/gpk-application.ui
@@ -151,6 +151,7 @@
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
<property name="shadow_type">in</property>
+ <property name="min_content_height">100</property>
<child>
<object class="GtkTreeView" id="treeview_groups">
<property name="visible">True</property>
@@ -187,6 +188,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
+ <property name="min_content_height">100</property>
<child>
<object class="GtkTreeView" id="treeview_packages">
<property name="visible">True</property>
@@ -235,6 +237,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
+ <property name="min_content_height">100</property>
<child>
<object class="GtkTextView" id="textview_description">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]