summaryrefslogtreecommitdiff
path: root/gtk/inspector
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-12-28 11:06:24 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-12-28 11:14:39 -0500
commit20f1c06eedf06dbc3a7fe62875ac996d2c3c2eb5 (patch)
tree5142657e84a6333f9e551952c191f4cc687a32a7 /gtk/inspector
parent07efae7288e4b50cb2f78d340bc7fc1438ef63fa (diff)
downloadgtk+-20f1c06eedf06dbc3a7fe62875ac996d2c3c2eb5.tar.gz
Restore a missing file
No wonder nobody has tried my awesome magnifier yet...
Diffstat (limited to 'gtk/inspector')
-rw-r--r--gtk/inspector/magnifier.ui62
1 files changed, 62 insertions, 0 deletions
diff --git a/gtk/inspector/magnifier.ui b/gtk/inspector/magnifier.ui
new file mode 100644
index 0000000000..b257fdbdd5
--- /dev/null
+++ b/gtk/inspector/magnifier.ui
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface domain="gtk30">
+ <template class="GtkInspectorMagnifier" parent="GtkBox">
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="orientation">horizontal</property>
+ <property name="spacing">6</property>
+ <property name="margin">6</property>
+ <child>
+ <object class="GtkScale" id="magnification">
+ <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">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="pack-type">start</property>
+ </packing>
+ </child>
+ <child type="center">
+ <object class="GtkLabel" id="object_title">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow">
+ <property name="visible">True</property>
+ <property name="hscrollbar-policy">automatic</property>
+ <property name="vscrollbar-policy">automatic</property>
+ <property name="expand">True</property>
+ <property name="shadow-type">none</property>
+ <child>
+ <object class="GtkMagnifier" id="magnifier">
+ <property name="visible">True</property>
+ <property name="resize">True</property>
+ <property name="magnification" bind-source="adjustment" bind-property="value" bind-flags="sync-create"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+ <object class="GtkAdjustment" id="adjustment">
+ <property name="lower">1.0</property>
+ <property name="upper">5.0</property>
+ <property name="page-size">0.0</property>
+ <property name="page-increment">0.1</property>
+ <property name="step-increment">0.1</property>
+ <property name="value">2.0</property>
+ </object>
+</interface>