[Skencil-commits] r749 - skencil/branches/skencil-0.6/src/Sketch/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 8 21:01:48 CEST 2010


Author: igor_n
Date: 2010-10-08 21:01:47 +0200 (Fri, 08 Oct 2010)
New Revision: 749

Modified:
   skencil/branches/skencil-0.6/src/Sketch/UI/mainwindow.py
Log:
fixes for statusbar UI

Modified: skencil/branches/skencil-0.6/src/Sketch/UI/mainwindow.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/UI/mainwindow.py	2010-10-08 19:01:25 UTC (rev 748)
+++ skencil/branches/skencil-0.6/src/Sketch/UI/mainwindow.py	2010-10-08 19:01:47 UTC (rev 749)
@@ -581,7 +581,7 @@
         self.status_bar.pack(side = BOTTOM, fill=X)
 
         palette_frame = Frame(root, name = 'palette_frame')
-        palette_frame.pack(side = BOTTOM, fill = X)
+        palette_frame.pack(side = BOTTOM, fill = X, pady = 3)
 
         frame = Frame(root, name = 'canvas_frame')
         frame.pack(side = TOP, fill = BOTH, expand = 1)
@@ -966,31 +966,31 @@
         canvas = self.canvas
         stat_mode = UpdatedLabel(status_bar, name = 'mode', text = '',
                                  updatecb = canvas.ModeInfoText)
-        stat_mode.pack(side = 'left')
+        stat_mode.pack(side = 'left', padx = 2)
         stat_mode.Update()
         canvas.Subscribe(MODE, stat_mode.Update)
 
         stat_edited = UpdatedLabel(status_bar, name = 'edited', text = '',
                                    updatecb = self.EditedInfoText)
-        stat_edited.pack(side = 'left')
+        stat_edited.pack(side = 'left', padx = 2)
         stat_edited.Update()
         self.Subscribe(UNDO, stat_edited.Update)
 
         stat_zoom = UpdatedLabel(status_bar, name = 'zoom', text = '',
                                  updatecb = canvas.ZoomInfoText)
-        stat_zoom.pack(side = 'left')
+        stat_zoom.pack(side = 'left', padx = 2)
         stat_zoom.Update()
         canvas.Subscribe(VIEW, stat_zoom.Update)
 
         stat_pos = PositionLabel(status_bar, name = 'position', text = '',
                                  updatecb = canvas.GetCurrentPos)
-        stat_pos.pack(side = 'left')
+        stat_pos.pack(side = 'left', padx = 2)
         stat_pos.Update()
         canvas.Subscribe(POSITION, stat_pos.Update)
 
         stat_sel = UpdatedLabel(status_bar, name = 'selection', text = '',
                                 updatecb = canvas.CurrentInfoText)
-        stat_sel.pack(side = 'left', fill = X, expand = 1)
+        stat_sel.pack(side = 'left', fill = X, expand = 1, padx = 2)
         stat_sel.Update()
         update = stat_sel.Update
         canvas.Subscribe(SELECTION, update)



More information about the Skencil-commits mailing list