From 64306e236667a671bcef5cfe7b49484767821922 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 25 Apr 2020 17:29:29 +0300 Subject: [PATCH] Align attribute icons the same way as input boxes in target profile editor --- gui/targetProfileEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/targetProfileEditor.py b/gui/targetProfileEditor.py index a687b0f6f..462f565b8 100644 --- a/gui/targetProfileEditor.py +++ b/gui/targetProfileEditor.py @@ -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))