NCheckbox: add scaling
This commit is contained in:
parent
f10280c8bb
commit
f932d580af
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ RowLayout {
|
|||
property bool checked: false
|
||||
property bool hovering: false
|
||||
// Smaller default footprint than NToggle
|
||||
property int baseSize: Math.max(Style.baseWidgetSize * 0.8, 14)
|
||||
property int baseSize: Math.max(Style.baseWidgetSize * 0.8, Math.round(14 / scaling))
|
||||
|
||||
signal toggled(bool checked)
|
||||
signal entered
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue