Align attribute icons the same way as input boxes in target profile
editor
This commit is contained in:
@@ -183,7 +183,7 @@ class TargetProfileEditor(AuxiliaryFrame):
|
||||
ttText, unitText = self.ATTRIBUTES[attr]
|
||||
bmp = wx.StaticBitmap(self, wx.ID_ANY, BitmapLoader.getBitmap("%s_big" % attr, "gui"))
|
||||
bmp.SetToolTip(wx.ToolTip(ttText))
|
||||
miscAttrSizer.Add(bmp, 0, wx.LEFT, leftPad)
|
||||
miscAttrSizer.Add(bmp, 0, wx.LEFT | wx.ALIGN_CENTER_VERTICAL, leftPad)
|
||||
# set text edit
|
||||
editBox = FloatBox(parent=self, id=wx.ID_ANY, value=None, pos=wx.DefaultPosition, size=defSize)
|
||||
editBox.SetToolTip(wx.ToolTip(ttText))
|
||||
|
||||
Reference in New Issue
Block a user