summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-29 15:39:33 -0700
committerJohn Stebbins <[email protected]>2019-07-29 15:39:33 -0700
commitf1eb28e3fcef8d5a01d99845781f4eede5b3cc44 (patch)
tree9ecd8cb3686584ec19255959111c25f2af709317
parenteac6a03790d684b076d40759363e9c3b6bddb5d4 (diff)
LinGui: gtk4 port, minimize appearence of tool bar separators
These are not supposed to be visible, but gtk4 is not respecting the "draw" property of GtkSeparatorToolItem. When this is fixed, I can restore proper spacing between "Open Source" and "Add To Queue" toolbar buttons.
-rw-r--r--gtk/src/ghb4.ui20
1 files changed, 6 insertions, 14 deletions
diff --git a/gtk/src/ghb4.ui b/gtk/src/ghb4.ui
index d90ac98df..d71f71f5a 100644
--- a/gtk/src/ghb4.ui
+++ b/gtk/src/ghb4.ui
@@ -353,7 +353,7 @@ conjunction with the "Forced" option.</property>
<property name="position">500</property>
<property name="can_focus">False</property>
<property name="shrink-child1">False</property>
- <property name="shrink-child2">False</property>
+ <property name="shrink-child2">True</property>
<child>
<object class="GtkBox" id="queue_box2">
<property name="orientation">vertical</property>
@@ -391,18 +391,6 @@ conjunction with the "Forced" option.</property>
</object>
</child>
<child>
- <object class="GtkSeparatorToolItem" id="queue_list_tool_sep1">
- <property name="visible">True</property>
- <property name="draw">False</property>
- <property name="hexpand">True</property>
- <property name="halign">GTK_ALIGN_FILL</property>
- <property name="vexpand">False</property>
- <property name="valign">GTK_ALIGN_FILL</property>
- <property name="hexpand">True</property>
- <property name="homogeneous">False</property>
- </object>
- </child>
- <child>
<object class="GtkToolItem" id="queue_list_options">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -1987,7 +1975,11 @@ libx264 authors:
<child>
<object class="GtkSeparatorToolItem" id="main_tool_sep2">
<property name="visible">True</property>
+<!--
<property name="width-request">60</property>
+-->
+ <property name="hexpand">True</property>
+ <property name="halign">center</property>
<property name="draw">False</property>
<property name="homogeneous">False</property>
</object>
@@ -2033,7 +2025,7 @@ libx264 authors:
<property name="visible">True</property>
<property name="draw">False</property>
<property name="expand">True</property>
- <property name="halign">GTK_ALIGN_FILL</property>
+ <property name="halign">center</property>
<property name="homogeneous">False</property>
</object>
</child>