Commit d222d8e6 authored by sumpfralle's avatar sumpfralle

improved some small UI details


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@188 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 9149bb23
...@@ -73,7 +73,7 @@ def draw_axes(settings): ...@@ -73,7 +73,7 @@ def draw_axes(settings):
size_x = abs(settings.get("maxx")) size_x = abs(settings.get("maxx"))
size_y = abs(settings.get("maxy")) size_y = abs(settings.get("maxy"))
size_z = abs(settings.get("maxz")) size_z = abs(settings.get("maxz"))
size = 2.0 * max(max(size_x, size_y), size_z) size = 1.5 * max(max(size_x, size_y), size_z)
# the divider is just based on playing with numbers # the divider is just based on playing with numbers
scale = size/1500.0 scale = size/1500.0
string_distance = 1.1 * size string_distance = 1.1 * size
......
...@@ -844,7 +844,7 @@ ...@@ -844,7 +844,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<child> <child>
<object class="GtkButton" id="Reset bounds"> <object class="GtkButton" id="Reset bounds">
<property name="label" translatable="yes">Reset</property> <property name="label" translatable="yes">Small margin</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
...@@ -855,7 +855,7 @@ ...@@ -855,7 +855,7 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="Minimize bounds"> <object class="GtkButton" id="Minimize bounds">
<property name="label" translatable="yes">Minimize</property> <property name="label" translatable="yes">No Margin</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
...@@ -2133,7 +2133,21 @@ ...@@ -2133,7 +2133,21 @@
<object class="GtkHBox" id="view3ddimension"> <object class="GtkHBox" id="view3ddimension">
<property name="visible">True</property> <property name="visible">True</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<property name="homogeneous">True</property> <child>
<object class="GtkLabel" id="DimensionLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Bounding Box:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="padding">3</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox8">
<property name="visible">True</property>
<property name="spacing">12</property>
<child> <child>
<object class="GtkHBox" id="hbox10"> <object class="GtkHBox" id="hbox10">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -2233,6 +2247,12 @@ ...@@ -2233,6 +2247,12 @@
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
</object>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<object class="GtkHBox" id="view3dbox"> <object class="GtkHBox" id="view3dbox">
<property name="visible">True</property> <property name="visible">True</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment