Skip to content

Commit

Permalink
Slightly increase spinbox length
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgrimtabby committed Jul 18, 2024
1 parent 77d637a commit f65fc18
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ui/ui_settings_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __init__(self) -> None:
self._fps_label.setToolTip("Read this many frames per second from video source")

self.fps_spinbox = QSpinBox(self)
self.fps_spinbox.setGeometry(QRect(160 + self._LEFT, 12 + self._TOP, 75, 27))
self.fps_spinbox.setGeometry(QRect(160 + self._LEFT, 12 + self._TOP, 82, 27))
self.fps_spinbox.setMinimum(10)
self.fps_spinbox.setMaximum(60)

Expand Down Expand Up @@ -206,7 +206,7 @@ def __init__(self) -> None:

self.threshold_spinbox = QDoubleSpinBox(self)
self.threshold_spinbox.setGeometry(
QRect(160 + self._LEFT, 72 + self._TOP, 75, 27)
QRect(160 + self._LEFT, 72 + self._TOP, 82, 27)
)
self.threshold_spinbox.setDecimals(2)
self.threshold_spinbox.setMinimum(0.1)
Expand All @@ -226,7 +226,7 @@ def __init__(self) -> None:

self.decimals_spinbox = QSpinBox(self)
self.decimals_spinbox.setGeometry(
QRect(160 + self._LEFT, 102 + self._TOP, 75, 27)
QRect(160 + self._LEFT, 102 + self._TOP, 82, 27)
)
self.decimals_spinbox.setMinimum(0)
self.decimals_spinbox.setMaximum(2)
Expand All @@ -240,7 +240,7 @@ def __init__(self) -> None:
)

self.delay_spinbox = QDoubleSpinBox(self)
self.delay_spinbox.setGeometry(QRect(160 + self._LEFT, 132 + self._TOP, 75, 27))
self.delay_spinbox.setGeometry(QRect(160 + self._LEFT, 132 + self._TOP, 82, 27))
self.delay_spinbox.setDecimals(3)
self.delay_spinbox.setMinimum(0)
self.delay_spinbox.setMaximum(99999)
Expand All @@ -256,7 +256,7 @@ def __init__(self) -> None:
)

self.pause_spinbox = QDoubleSpinBox(self)
self.pause_spinbox.setGeometry(QRect(160 + self._LEFT, 162 + self._TOP, 75, 27))
self.pause_spinbox.setGeometry(QRect(160 + self._LEFT, 162 + self._TOP, 82, 27))
self.pause_spinbox.setDecimals(0)
self.pause_spinbox.setMinimum(1)
self.pause_spinbox.setMaximum(99999)
Expand Down Expand Up @@ -289,7 +289,7 @@ def __init__(self) -> None:

self.theme_combo_box = QComboBox(self)
self.theme_combo_box.setGeometry(
QRect(160 + self._LEFT, 224 + self._TOP, 75, 23)
QRect(160 + self._LEFT, 224 + self._TOP, 82, 23)
)
self.theme_combo_box.addItems(["dark", "light"])

Expand Down

0 comments on commit f65fc18

Please sign in to comment.