make NSpinBox border width not hardcoded
This commit is contained in:
parent
b03f877c27
commit
1311192235
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ RowLayout {
|
|||
radius: height * 0.5 // Fully rounded like toggle
|
||||
color: Color.mSurfaceVariant
|
||||
border.color: root.hovering ? Color.mPrimary : Color.mOutline
|
||||
border.width: 1
|
||||
border.width: Math.max(1, Style.borderS * scaling)
|
||||
|
||||
Behavior on border.color {
|
||||
ColorAnimation {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue