summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2012-11-30 09:23:55 +0000
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-12-29 09:43:43 +0100
commit0d31edfa5617f4fecb04d5476de54a63b6146686 (patch)
treebeec75cb70e27444424c659b22d0e72849abf9dd
parent9977a4f26b5698b0b85ca911e7392013941944e0 (diff)
pdf-inspector Change from the deprecated GtkTable to GtkGrid
This fixes the problem of the description_label height changing after its text changes which was introduced since the port to Gtk3. https://bugs.freedesktop.org/show_bug.cgi?id=57727
-rw-r--r--test/pdf-inspector.ui39
1 files changed, 15 insertions, 24 deletions
diff --git a/test/pdf-inspector.ui b/test/pdf-inspector.ui
index 177dbe3a..0956aa97 100644
--- a/test/pdf-inspector.ui
+++ b/test/pdf-inspector.ui
@@ -217,11 +217,10 @@
</packing>
</child>
<child>
- <object class="GtkTable" id="table2">
+ <object class="GtkGrid" id="grid">
<property name="visible">True</property>
- <property name="n_rows">2</property>
- <property name="n_columns">3</property>
- <property name="homogeneous">False</property>
+ <property name="row-homogeneous">False</property>
+ <property name="column-homogeneous">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<child>
@@ -243,12 +242,10 @@
<property name="angle">0</property>
</object>
<packing>
+ <property name="height">1</property>
<property name="left_attach">0</property>
- <property name="right_attach">1</property>
<property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">fill</property>
- <property name="y_options"/>
+ <property name="width">1</property>
</packing>
</child>
<child>
@@ -270,12 +267,10 @@
<property name="angle">0</property>
</object>
<packing>
+ <property name="height">1</property>
<property name="left_attach">1</property>
- <property name="right_attach">3</property>
<property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">fill</property>
- <property name="y_options"/>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -297,12 +292,10 @@
<property name="angle">0</property>
</object>
<packing>
+ <property name="height">1</property>
<property name="left_attach">0</property>
- <property name="right_attach">1</property>
<property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="x_options">fill</property>
- <property name="y_options">fill</property>
+ <property name="width">1</property>
</packing>
</child>
<child>
@@ -324,17 +317,16 @@
<property name="angle">0</property>
</object>
<packing>
+ <property name="height">1</property>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
<property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="y_options">fill</property>
+ <property name="width">1</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
- <property name="xalign">0.5</property>
+ <property name="xalign">1</property>
<property name="yalign">0</property>
<property name="xscale">0.0</property>
<property name="yscale">0.0</property>
@@ -342,6 +334,7 @@
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
+ <property name="hexpand">True</property>
<child>
<object class="GtkButton" id="analyze_button">
<property name="visible">True</property>
@@ -354,12 +347,10 @@
</child>
</object>
<packing>
+ <property name="height">1</property>
<property name="left_attach">2</property>
- <property name="right_attach">3</property>
<property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="x_options">fill</property>
- <property name="y_options">fill</property>
+ <property name="width">1</property>
</packing>
</child>
</object>