Set padding for HCheckBox

This commit is contained in:
miruka 2019-08-21 04:46:40 -04:00
parent bdf7a63e6f
commit 713aaf3635

View File

@ -5,6 +5,10 @@ import "../utils.js" as Utils
CheckBox { CheckBox {
id: box id: box
spacing: theme.spacing spacing: theme.spacing
leftPadding: spacing / 1.5
rightPadding: spacing / 1.5
topPadding: spacing / 2
bottomPadding: spacing / 2
opacity: enabled ? 1 : theme.disabledElementsOpacity opacity: enabled ? 1 : theme.disabledElementsOpacity