D27453: [Applet]Update toolbar's checkbox spacing

George Vogiatzis noreply at phabricator.kde.org
Mon Feb 17 10:37:44 GMT 2020


gvgeo added inline comments.

INLINE COMMENTS

> SwitchButton.qml:54
>              left: switchButtonCheckbox.right
> -            leftMargin: units.gridUnit / 2
> -            top: switchButtonCheckbox.top
> -            bottom: switchButtonCheckbox.bottom
> +            // Checkbox bug adds internally a smallSpacing on the right. Doubling the effective spacing here.
> +            leftMargin: units.smallSpacing

I made some tests. I even comment out in checkbox style, label and background but always added spacing.
Only workaround that found to work, was to set `spacing: control.text ? smallSpacing : 0`, but didn't felt right way to do it.

REPOSITORY
  R116 Plasma Network Management Applet

REVISION DETAIL
  https://phabricator.kde.org/D27453

To: gvgeo, #plasma, #vdg, jgrulich, ngraham
Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200217/86b65b6d/attachment.html>


More information about the Plasma-devel mailing list