[sysprof/wip/visualizers] visualizer-view: set hscrollbar policy to never
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] visualizer-view: set hscrollbar policy to never
- Date: Sat, 1 Oct 2016 00:00:28 +0000 (UTC)
commit e54c496f7d6e2a53faff3446037fc7d16318d57e
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 30 16:59:11 2016 -0700
visualizer-view: set hscrollbar policy to never
Because we are using ListBox, we can't quite do scrolling the
way we'd like (naturally using the scrolled window). So for now
we need to just disable hscrolling here.
However, it would be nice if we could teach the viewport to
handle this correctly so that it wires up the
GtkScrollable:hscrollbar-adjustment to our internal one.
lib/resources/ui/sp-visualizer-view.ui | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/resources/ui/sp-visualizer-view.ui b/lib/resources/ui/sp-visualizer-view.ui
index 6a4c2f4..c183ec3 100644
--- a/lib/resources/ui/sp-visualizer-view.ui
+++ b/lib/resources/ui/sp-visualizer-view.ui
@@ -17,7 +17,8 @@
<property name="visible">true</property>
<child>
<object class="GtkScrolledWindow">
- <property name="hscrollbar-policy">external</property>
+ <!-- Horizontal scrolling is handled by @scrollbar -->
+ <property name="hscrollbar-policy">never</property>
<property name="visible">true</property>
<property name="propagate-natural-height">true</property>
<property name="vexpand">true</property>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]