Fix DebugVariablePanel time range position
authorLaurent Bessard
Thu, 17 Jan 2013 00:22:35 +0100
changeset 905 eaa1d3a4b52b
parent 904 73f6333d50a4
child 906 de452d65865c
Fix DebugVariablePanel time range position
controls/DebugVariablePanel.py
--- a/controls/DebugVariablePanel.py	Wed Jan 16 22:41:38 2013 +0100
+++ b/controls/DebugVariablePanel.py	Thu Jan 17 00:22:35 2013 +0100
@@ -413,10 +413,10 @@
             range_label = wx.StaticText(self.GraphicsPanel, label=_('Range:'))
             graphics_button_sizer.AddWindow(range_label, flag=wx.ALIGN_CENTER_VERTICAL)
             
-            self.CanvasRange = wx.ComboBox(self.GraphicsPanel, 
-                  size=wx.Size(100, 28), style=wx.CB_READONLY)
+            self.CanvasRange = wx.ComboBox(self.GraphicsPanel, style=wx.CB_READONLY)
             self.Bind(wx.EVT_COMBOBOX, self.OnRangeChanged, self.CanvasRange)
-            graphics_button_sizer.AddWindow(self.CanvasRange, 1, flag=wx.ALIGN_CENTER_VERTICAL)
+            graphics_button_sizer.AddWindow(self.CanvasRange, 1, 
+                  border=5, flag=wx.LEFT|wx.ALIGN_CENTER_VERTICAL)
             
             for name, bitmap, help in [
                 ("ResetButton", "reset", _("Clear the graph values")),