From 54c78726cda10fcd1f31cfcb0fcd8b933ea44ac4 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Wed, 1 Jul 2020 18:15:31 -0300 Subject: [PATCH] improvements in mips gui --- invesalius/data/viewer_slice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index ec51539..1ca4ee0 100644 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -102,13 +102,13 @@ class ContourMIPConfig(wx.Panel): self.txt_mip_border = wx.StaticText(self, -1, _("Sharpness")) sizer = wx.BoxSizer(wx.HORIZONTAL) - sizer.Add(txt_mip_size, 0, wx.EXPAND | wx.ALL, 2) + sizer.Add(txt_mip_size, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 2) sizer.Add(self.mip_size_spin, 0) try: sizer.Add(10, 0) except TypeError: sizer.Add((10, 0)) - sizer.Add(self.txt_mip_border, 0, wx.EXPAND | wx.ALL, 2) + sizer.Add(self.txt_mip_border, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 2) sizer.Add(self.border_spin, 0, wx.EXPAND) try: sizer.Add(10, 0) -- libgit2 0.21.2