Commit 54c78726cda10fcd1f31cfcb0fcd8b933ea44ac4
1 parent
07991eef
Exists in
master
improvements in mips gui
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -102,13 +102,13 @@ class ContourMIPConfig(wx.Panel): |
102 | 102 | self.txt_mip_border = wx.StaticText(self, -1, _("Sharpness")) |
103 | 103 | |
104 | 104 | sizer = wx.BoxSizer(wx.HORIZONTAL) |
105 | - sizer.Add(txt_mip_size, 0, wx.EXPAND | wx.ALL, 2) | |
105 | + sizer.Add(txt_mip_size, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 2) | |
106 | 106 | sizer.Add(self.mip_size_spin, 0) |
107 | 107 | try: |
108 | 108 | sizer.Add(10, 0) |
109 | 109 | except TypeError: |
110 | 110 | sizer.Add((10, 0)) |
111 | - sizer.Add(self.txt_mip_border, 0, wx.EXPAND | wx.ALL, 2) | |
111 | + sizer.Add(self.txt_mip_border, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 2) | |
112 | 112 | sizer.Add(self.border_spin, 0, wx.EXPAND) |
113 | 113 | try: |
114 | 114 | sizer.Add(10, 0) | ... | ... |