[pulseaudio-discuss] [PATCH pavucontrol] Add horizontal scrollbars automatically
Simon Johansson
amp at ampleyfly.se
Mon Jun 23 16:06:58 PDT 2014
Add a horizontal scrollbar inside each tab automatically when the window
is not wide enough. Add arrows for scrolling the tab bar when the tabs
don't fit inside the window.
---
src/pavucontrol.glade | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/pavucontrol.glade b/src/pavucontrol.glade
index b0aa2a5..5116632 100644
--- a/src/pavucontrol.glade
+++ b/src/pavucontrol.glade
@@ -705,6 +705,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="show_border">False</property>
+ <property name="scrollable">True</property>
<child>
<object class="GtkVBox" id="vbox32">
<property name="visible">True</property>
@@ -714,7 +715,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">12</property>
- <property name="hscrollbar_policy">never</property>
+ <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport1">
@@ -828,7 +829,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">12</property>
- <property name="hscrollbar_policy">never</property>
+ <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport5">
@@ -946,7 +947,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">12</property>
- <property name="hscrollbar_policy">never</property>
+ <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport4">
@@ -1065,7 +1066,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">12</property>
- <property name="hscrollbar_policy">never</property>
+ <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport3">
@@ -1185,7 +1186,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">12</property>
- <property name="hscrollbar_policy">never</property>
+ <property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport2">
--
2.0.0
More information about the pulseaudio-discuss
mailing list