summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-08-08 00:34:50 +0200
committerGuillaume Seguin <guillaume@segu.in>2007-08-08 00:34:50 +0200
commitd7c829d17290fc5c670cf67e91041bc6310e181e (patch)
tree2ad6ac945a31101670398bb94537fd20102315f8
parent4fdf4986738e4b931bbe2257dbfdead005217279 (diff)
downloadgshaderedit-d7c829d17290fc5c670cf67e91041bc6310e181e.tar.gz
gshaderedit-d7c829d17290fc5c670cf67e91041bc6310e181e.tar.bz2
* Reduce main window size
-rw-r--r--gshaderedit.glade77
1 files changed, 45 insertions, 32 deletions
diff --git a/gshaderedit.glade b/gshaderedit.glade
index 187fd54..ca24f59 100644
--- a/gshaderedit.glade
+++ b/gshaderedit.glade
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.3.3 on Wed Aug 8 00:28:52 2007 -->
+<!--Generated with glade3 3.3.3 on Wed Aug 8 00:34:22 2007 -->
<glade-interface>
<widget class="GtkWindow" id="mainWindow">
- <property name="width_request">800</property>
+ <property name="width_request">500</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="title">gShaderEdit</property>
<property name="resizable">False</property>
@@ -46,7 +46,7 @@
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<child>
<widget class="GtkTextView" id="editorView">
- <property name="height_request">200</property>
+ <property name="height_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
@@ -88,6 +88,9 @@ END</property>
<widget class="GtkImage" id="openFileImage">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="xalign">1</property>
+ <property name="yalign">0</property>
+ <property name="xpad">4</property>
<property name="stock">gtk-open</property>
</widget>
</child>
@@ -97,6 +100,7 @@ END</property>
<widget class="GtkLabel" id="openFileLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="xalign">0</property>
<property name="label" translatable="yes">Load an image</property>
</widget>
<packing>
@@ -127,6 +131,8 @@ END</property>
<widget class="GtkImage" id="openFileImage3">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="xalign">1</property>
+ <property name="xpad">4</property>
<property name="stock">gtk-open</property>
</widget>
</child>
@@ -136,6 +142,7 @@ END</property>
<widget class="GtkLabel" id="openShaderLabel">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="xalign">0</property>
<property name="label" translatable="yes">Load a shader</property>
</widget>
<packing>
@@ -150,77 +157,83 @@ END</property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="resetButton">
+ <widget class="GtkButton" id="aboutButton">
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
<property name="response_id">0</property>
- <signal name="clicked" handler="reset"/>
+ <signal name="clicked" handler="show_about"/>
+ <child>
+ <widget class="GtkImage" id="aboutImage">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="stock">gtk-about</property>
+ </widget>
+ </child>
</widget>
<packing>
+ <property name="expand">False</property>
<property name="position">2</property>
</packing>
</child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<child>
- <widget class="GtkButton" id="applyButton">
+ <widget class="GtkButton" id="resetButton">
<property name="visible">True</property>
+ <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label">gtk-apply</property>
+ <property name="label">gtk-cancel</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
- <signal name="clicked" handler="apply"/>
+ <signal name="clicked" handler="reset"/>
</widget>
- <packing>
- <property name="position">3</property>
- </packing>
</child>
<child>
- <widget class="GtkButton" id="saveButton">
+ <widget class="GtkButton" id="applyButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label">gtk-save</property>
+ <property name="label">gtk-apply</property>
<property name="use_stock">True</property>
<property name="response_id">0</property>
- <signal name="clicked" handler="save"/>
+ <signal name="clicked" handler="apply"/>
</widget>
<packing>
- <property name="position">4</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="aboutButton">
+ <widget class="GtkButton" id="saveButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="label">gtk-save</property>
+ <property name="use_stock">True</property>
<property name="response_id">0</property>
- <signal name="clicked" handler="show_about"/>
- <child>
- <widget class="GtkImage" id="aboutImage">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="stock">gtk-about</property>
- </widget>
- </child>
+ <signal name="clicked" handler="save"/>
</widget>
<packing>
- <property name="expand">False</property>
- <property name="position">5</property>
+ <property name="position">2</property>
</packing>
</child>
</widget>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
</widget>