Align attribute icons the same way as input boxes in target profile

editor
This commit is contained in:
DarkPhoenix
2020-04-25 17:29:29 +03:00
parent f259df85cd
commit 64306e2366

View File

@@ -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))