Hi all, I am trying to 'scale' down the gui so as to reduce the spacing between my widgets whenever the tool is called.
I tried using `setFixedSize`, while it does seems to scales down to what I had wanted, but the window, see attached, stays as it is and it is not being scaled down with it.
As such, this has results in extra blank unnecessary spaces.

My GUI comes from using qt-designer and the following is a small code portion of the GUI initialization:
class MyTool(MayaQWidgetDockableMixin, QtWidgets.QWidget):
def __init__(self, parent=None, dockable=True):
super(MyTool, self).__init__(parent=parent)
# self.ui comes from a qt-designer file
self.ui = Ui_MyTestWidget()
self.ui.setupUi(self)
# set other methods/ connections etc...
...
...
# Attempting to 'scale' down the widgets, seems to work but not for the window
# using self.adjustSize() does not seems to be doing anything
self.setFixedSize(890, 505)
This is how I called upon my GUI:
import main_tool
app = main_tool.MyTool()
Appreciate for any insights!