[controls] remove size limit

This commit is contained in:
Jan Grewe 2025-02-27 19:59:50 +01:00
parent 4a76655766
commit d1b5776e69

View File

@ -52,7 +52,6 @@ class SelectionControls(QWidget):
quarterstepBackBtn.setStyleSheet(pushBtnStyle("darkgray")) quarterstepBackBtn.setStyleSheet(pushBtnStyle("darkgray"))
quarterstepBackBtn.clicked.connect(lambda: self.on_Back(quarterstep)) quarterstepBackBtn.clicked.connect(lambda: self.on_Back(quarterstep))
fwdBtn = QPushButton(">>|") fwdBtn = QPushButton(">>|")
fwdBtn.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding) fwdBtn.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
fwdBtn.setShortcut(Qt.Key.Key_Right) fwdBtn.setShortcut(Qt.Key.Key_Right)
@ -173,7 +172,7 @@ class SelectionControls(QWidget):
grid.setColumnStretch(0, 1) grid.setColumnStretch(0, 1)
grid.setColumnStretch(7, 1) grid.setColumnStretch(7, 1)
self.setLayout(grid) self.setLayout(grid)
self.setMaximumSize(QSize(500, 500)) # self.setMaximumSize(QSize(500, 500))
def setWindow(self, start:int=0, end:int=0): def setWindow(self, start:int=0, end:int=0):
self.startframe.setText(f"{start:.0f}") self.startframe.setText(f"{start:.0f}")