Score and page spinboxes 50px → 40px to recover top-bar horizontal space
This commit is contained in:
parent
987d987512
commit
ba5a47f8af
@ -423,7 +423,7 @@ class BooruApp(QMainWindow):
|
|||||||
self._score_spin = QSpinBox()
|
self._score_spin = QSpinBox()
|
||||||
self._score_spin.setRange(0, 99999)
|
self._score_spin.setRange(0, 99999)
|
||||||
self._score_spin.setValue(0)
|
self._score_spin.setValue(0)
|
||||||
self._score_spin.setFixedWidth(50)
|
self._score_spin.setFixedWidth(40)
|
||||||
self._score_spin.setFixedHeight(23)
|
self._score_spin.setFixedHeight(23)
|
||||||
self._score_spin.setButtonSymbols(QSpinBox.ButtonSymbols.NoButtons)
|
self._score_spin.setButtonSymbols(QSpinBox.ButtonSymbols.NoButtons)
|
||||||
top.addWidget(self._score_spin)
|
top.addWidget(self._score_spin)
|
||||||
@ -439,7 +439,7 @@ class BooruApp(QMainWindow):
|
|||||||
self._page_spin = QSpinBox()
|
self._page_spin = QSpinBox()
|
||||||
self._page_spin.setRange(1, 99999)
|
self._page_spin.setRange(1, 99999)
|
||||||
self._page_spin.setValue(1)
|
self._page_spin.setValue(1)
|
||||||
self._page_spin.setFixedWidth(50)
|
self._page_spin.setFixedWidth(40)
|
||||||
self._page_spin.setFixedHeight(23) # match the surrounding 23px row
|
self._page_spin.setFixedHeight(23) # match the surrounding 23px row
|
||||||
self._page_spin.setButtonSymbols(QSpinBox.ButtonSymbols.NoButtons)
|
self._page_spin.setButtonSymbols(QSpinBox.ButtonSymbols.NoButtons)
|
||||||
top.addWidget(self._page_spin)
|
top.addWidget(self._page_spin)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user