How to prevent a widget from expanding using QGridLayout?

前端 未结 0 1222
天涯浪人
天涯浪人 2021-02-05 07:40

I\'ve tried setting setSizePolicy to minimum and it didn\'t work. Here\'s my main window widget:

class MainWindow(QMainWindow):
    def __init__(self         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题