[gtk+] inspector: Fix object title label alignment
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Fix object title label alignment
- Date: Thu, 3 Aug 2017 16:24:25 +0000 (UTC)
commit edbe6b3360b3f3c3fd73a5a13760948ef57c5737
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 3 18:24:42 2017 +0200
inspector: Fix object title label alignment
Re-center it after the center-child removal in GtkBox and the addition
of GtkCenterBox.
gtk/inspector/window.ui | 109 ++++++++++++++++++++++++----------------------
1 files changed, 57 insertions(+), 52 deletions(-)
---
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index 992b454..e49dd38 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -187,76 +187,81 @@
<property name="visible">1</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkBox">
- <property name="visible">1</property>
- <property name="spacing">10</property>
- <child>
- <object class="GtkStackCombo" id="stackcombo">
- <property name="visible">True</property>
- <property name="margin">6</property>
- <property name="stack">object_details</property>
- </object>
- </child>
- <child>
- <object class="GtkStack" id="object_start_stack">
- <property name="visible">True</property>
+ <object class="GtkCenterBox">
+ <child type="start">
+ <object class="GtkBox">
+ <property name="spacing">10</property>
<child>
- <object class="GtkBox">
+ <object class="GtkStackCombo" id="stackcombo">
<property name="visible">True</property>
+ <property name="margin">6</property>
+ <property name="stack">object_details</property>
</object>
- <packing>
- <property name="name">empty</property>
- </packing>
</child>
<child>
- <object class="GtkBox">
+ <object class="GtkStack" id="object_start_stack">
<property name="visible">True</property>
- <property name="orientation">horizontal</property>
- <property name="spacing">6</property>
- <property name="margin">6</property>
<child>
- <object class="GtkToggleButton" id="signals_trace_button">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="relief">none</property>
- <property name="tooltip-text" translatable="yes">Trace signal emissions on
this object</property>
- <property name="icon-name">media-record-symbolic</property>
</object>
+ <packing>
+ <property name="name">empty</property>
+ </packing>
</child>
<child>
- <object class="GtkButton" id="signals_clear_button">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="relief">none</property>
- <property name="tooltip-text" translatable="yes">Clear log</property>
- <property name="icon-name">edit-clear-symbolic</property>
+ <property name="orientation">horizontal</property>
+ <property name="spacing">6</property>
+ <property name="margin">6</property>
+ <child>
+ <object class="GtkToggleButton" id="signals_trace_button">
+ <property name="visible">True</property>
+ <property name="relief">none</property>
+ <property name="tooltip-text" translatable="yes">Trace signal emissions
on this object</property>
+ <property name="icon-name">media-record-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="signals_clear_button">
+ <property name="visible">True</property>
+ <property name="relief">none</property>
+ <property name="tooltip-text" translatable="yes">Clear log</property>
+ <property name="icon-name">edit-clear-symbolic</property>
+ </object>
+ </child>
</object>
+ <packing>
+ <property name="name">signals</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScale">
+ <property name="visible">True</property>
+ <property name="orientation">horizontal</property>
+ <property name="width-request">150</property>
+ <property name="draw-value">False</property>
+ <property name="adjustment">magnification_adjustment</property>
+ <marks>
+ <mark value="1.0" position="bottom"/>
+ <mark value="2.0" position="bottom"/>
+ <mark value="3.0" position="bottom"/>
+ <mark value="4.0" position="bottom"/>
+ <mark value="5.0" position="bottom"/>
+ </marks>
+ </object>
+ <packing>
+ <property name="name">magnifier</property>
+ </packing>
</child>
</object>
- <packing>
- <property name="name">signals</property>
- </packing>
- </child>
- <child>
- <object class="GtkScale">
- <property name="visible">True</property>
- <property name="orientation">horizontal</property>
- <property name="width-request">150</property>
- <property name="draw-value">False</property>
- <property name="adjustment">magnification_adjustment</property>
- <marks>
- <mark value="1.0" position="bottom"/>
- <mark value="2.0" position="bottom"/>
- <mark value="3.0" position="bottom"/>
- <mark value="4.0" position="bottom"/>
- <mark value="5.0" position="bottom"/>
- </marks>
- </object>
- <packing>
- <property name="name">magnifier</property>
- </packing>
</child>
</object>
</child>
- <child>
+
+
+ <child type="center">
<object class="GtkStack" id="object_center_stack">
<property name="visible">1</property>
<property name="transition-type">crossfade</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]