BIM: adjust size of wellcome window to fit content
The actual optimal size of the window depends on many details, like UI style, system fonts, OS etc ... so lets auto-resize the window to fit the content before display.
This commit is contained in:
committed by
Yorik van Havre
parent
b6599c5315
commit
c8a12f81e8
@@ -53,6 +53,8 @@ class BIM_Welcome:
|
||||
self.form.label_4.linkActivated.connect(self.handleLink)
|
||||
self.form.label_7.linkActivated.connect(self.handleLink)
|
||||
|
||||
self.form.adjustSize()
|
||||
|
||||
# center the dialog over FreeCAD window
|
||||
mw = FreeCADGui.getMainWindow()
|
||||
self.form.move(
|
||||
|
||||
Reference in New Issue
Block a user