Adding the following after the call to self._build_ui(title) seems to do the trick:
self.adjustSize() self.resize(self.size().width() + 50, self.size().height())
Hopefully this won't make it look too wide on other platforms!
Adding the following after the call to self._build_ ui(title) seems to do the trick:
Hopefully this won't make it look too wide on other platforms!