mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 20:56:10 +08:00
Move "scale to max" button to scale entry, we should have room for it there now
This commit is contained in:
parent
c195ab04bc
commit
e92506cd5a
@ -63,8 +63,6 @@ class previewPanel(wx.Panel):
|
|||||||
self.toolbar.AddControl(self.layerSpin)
|
self.toolbar.AddControl(self.layerSpin)
|
||||||
self.Bind(wx.EVT_SPINCTRL, self.OnLayerNrChange, self.layerSpin)
|
self.Bind(wx.EVT_SPINCTRL, self.OnLayerNrChange, self.layerSpin)
|
||||||
|
|
||||||
self.scaleMax = toolbarUtil.NormalButton(self.toolbar, self.OnScaleMax, 'object-max-size.png', 'Scale object to fix machine size')
|
|
||||||
|
|
||||||
self.toolbar2 = toolbarUtil.Toolbar(self)
|
self.toolbar2 = toolbarUtil.Toolbar(self)
|
||||||
|
|
||||||
# Mirror
|
# Mirror
|
||||||
@ -83,6 +81,7 @@ class previewPanel(wx.Panel):
|
|||||||
self.scale = wx.TextCtrl(self.toolbar2, -1, profile.getProfileSetting('model_scale'), size=(21*2,21))
|
self.scale = wx.TextCtrl(self.toolbar2, -1, profile.getProfileSetting('model_scale'), size=(21*2,21))
|
||||||
self.toolbar2.AddControl(self.scale)
|
self.toolbar2.AddControl(self.scale)
|
||||||
self.scale.Bind(wx.EVT_TEXT, self.OnScale)
|
self.scale.Bind(wx.EVT_TEXT, self.OnScale)
|
||||||
|
self.scaleMax = toolbarUtil.NormalButton(self.toolbar2, self.OnScaleMax, 'object-max-size.png', 'Scale object to fix machine size')
|
||||||
|
|
||||||
self.toolbar2.AddSeparator()
|
self.toolbar2.AddSeparator()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user