summaryrefslogtreecommitdiff
path: root/walls.ui
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-12-22 23:08:43 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-12-22 23:08:43 +0100
commit925fcf201ae850da169516a4c2a9102f1e3a0df4 (patch)
treed7b2e0851a8ab4131f9bd8e4f47460b425b61ba4 /walls.ui
parentd7427af59c06fe1186b97998df4f0f158e0ef818 (diff)
Viewing images in the image box now works.
Images are resized to fit in the image box on the right hand side. No further resizing is currently done unless the image is reloaded.
Diffstat (limited to 'walls.ui')
-rw-r--r--walls.ui27
1 files changed, 20 insertions, 7 deletions
diff --git a/walls.ui b/walls.ui
index 0084e1f..2f234bb 100644
--- a/walls.ui
+++ b/walls.ui
@@ -72,7 +72,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox1">
+ <object class="GtkHPaned" id="hpaned1">
<property name="visible">True</property>
<child>
<object class="GtkNotebook" id="left_pages">
@@ -103,20 +103,33 @@
</child>
</object>
<packing>
- <property name="position">0</property>
+ <property name="resize">False</property>
+ <property name="shrink">True</property>
</packing>
</child>
<child>
- <object class="GtkAspectFrame" id="aspectframe1">
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
<child>
- <placeholder/>
+ <object class="GtkViewport" id="viewport1">
+ <property name="visible">True</property>
+ <property name="resize_mode">queue</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkImage" id="image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-missing-image</property>
+ </object>
+ </child>
+ </object>
</child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="resize">True</property>
+ <property name="shrink">True</property>
</packing>
</child>
</object>