Fix dark mode input field heights to match light mode
Set consistent min-height (20px) and padding (3px) for all input widgets (QLineEdit, QSpinBox, QComboBox, PalladiumAmountField) in dark mode to ensure uniform dimensions across themes
This commit is contained in:
@@ -122,6 +122,8 @@ QLineEdit, QTextEdit, QPlainTextEdit, QSpinBox, QDoubleSpinBox {
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
border: 1px solid #4A4A4A;
|
border: 1px solid #4A4A4A;
|
||||||
selection-background-color: #007BFF;
|
selection-background-color: #007BFF;
|
||||||
|
min-height: 20px;
|
||||||
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit:hover, QTextEdit:hover, QPlainTextEdit:hover,
|
QLineEdit:hover, QTextEdit:hover, QPlainTextEdit:hover,
|
||||||
@@ -306,6 +308,8 @@ QComboBox {
|
|||||||
background-color: #1E1E1E;
|
background-color: #1E1E1E;
|
||||||
color: #E0E0E0;
|
color: #E0E0E0;
|
||||||
border: 1px solid #4A4A4A;
|
border: 1px solid #4A4A4A;
|
||||||
|
min-height: 20px;
|
||||||
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:hover {
|
QComboBox:hover {
|
||||||
@@ -432,8 +436,8 @@ PalladiumAmountField QAbstractSpinBox {
|
|||||||
background-color: #1E1E1E;
|
background-color: #1E1E1E;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
border: 1px solid #4A4A4A;
|
border: 1px solid #4A4A4A;
|
||||||
min-height: 26px;
|
min-height: 20px;
|
||||||
padding: 2px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
PalladiumAmountField QAbstractSpinBox:hover {
|
PalladiumAmountField QAbstractSpinBox:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user