GUI: Adjust relaunch size

This commit is contained in:
Mykola Grymalyuk
2023-05-20 12:27:14 -06:00
parent 9c41fff3d4
commit 888387dfa2
+2 -2
View File
@@ -265,10 +265,10 @@ class RelaunchApplicationAsRoot:
] ]
self.frame.DestroyChildren() self.frame.DestroyChildren()
self.frame.SetSize(400, 300) self.frame.SetSize(300, 300)
# Header # Header
header = wx.StaticText(self.frame, label="Relaunching as root") header = wx.StaticText(self.frame, label="Relaunching as root", pos=(-1, 5))
header.SetFont(wx.Font(19, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False, ".AppleSystemUIFont")) header.SetFont(wx.Font(19, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False, ".AppleSystemUIFont"))
header.Centre(wx.HORIZONTAL) header.Centre(wx.HORIZONTAL)