fix bug UI
This commit is contained in:
12
main.py
12
main.py
@@ -379,7 +379,7 @@ class App(QWidget):
|
|||||||
action_row.setSpacing(10)
|
action_row.setSpacing(10)
|
||||||
|
|
||||||
par_lbl = QLabel("Concurrent:")
|
par_lbl = QLabel("Concurrent:")
|
||||||
par_lbl.setStyleSheet("font-size: 12px; font-weight: bold;")
|
par_lbl.setStyleSheet("font-size: 13px; font-weight: bold; color: #e2e8f0;")
|
||||||
action_row.addWidget(par_lbl)
|
action_row.addWidget(par_lbl)
|
||||||
|
|
||||||
self.parallel_spin = QSpinBox()
|
self.parallel_spin = QSpinBox()
|
||||||
@@ -387,9 +387,13 @@ class App(QWidget):
|
|||||||
self.parallel_spin.setValue(10)
|
self.parallel_spin.setValue(10)
|
||||||
self.parallel_spin.setSpecialValueText("∞")
|
self.parallel_spin.setSpecialValueText("∞")
|
||||||
self.parallel_spin.setToolTip("0 = unlimited (all at once)")
|
self.parallel_spin.setToolTip("0 = unlimited (all at once)")
|
||||||
self.parallel_spin.setFixedWidth(65)
|
self.parallel_spin.setMinimumWidth(80)
|
||||||
self.parallel_spin.setFixedHeight(28)
|
self.parallel_spin.setFixedHeight(34)
|
||||||
self.parallel_spin.setStyleSheet("QSpinBox { font-size: 13px; font-weight: bold; }")
|
self.parallel_spin.setStyleSheet(
|
||||||
|
"QSpinBox { font-size: 14px; font-weight: bold; color: #e2e8f0; "
|
||||||
|
"background-color: #2d3352; border: 1px solid #3d4a6b; border-radius: 6px; padding: 2px 6px; } "
|
||||||
|
"QSpinBox::up-button { width: 18px; } QSpinBox::down-button { width: 18px; }"
|
||||||
|
)
|
||||||
action_row.addWidget(self.parallel_spin)
|
action_row.addWidget(self.parallel_spin)
|
||||||
|
|
||||||
self.btn_flash = QPushButton("⚡ FLASH SELECTED DEVICES")
|
self.btn_flash = QPushButton("⚡ FLASH SELECTED DEVICES")
|
||||||
|
|||||||
Reference in New Issue
Block a user