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.
This commit is contained in:
Christian Hergert
2016-09-30 16:59:11 -07:00
parent 151895749d
commit e54c496f7d

View File

@ -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>