Commit d7469d57 authored by Nate Graham's avatar Nate Graham
Browse files

kcms/colors: fix spacing between radio buttons and content

Both had excessive spacing, and they were also not consistent with one

(cherry picked from commit 20c24e02)
parent b2cdc6f8
Pipeline #146502 passed with stage
in 12 minutes and 5 seconds
......@@ -142,7 +142,6 @@ KCM.GridViewKCM {
Kirigami.FormData.label: i18n("Use accent color:")
text: i18n("From current color scheme")
leftPadding: Kirigami.Units.largeSpacing
checked: Qt.colorEqual(kcm.accentColor, "transparent")
onToggled: {
......@@ -152,9 +151,12 @@ KCM.GridViewKCM {
RowLayout {
id: accentColorButtonsLayout
spacing: Kirigami.Units.smallSpacing
QtControls.RadioButton {
id: accentBox
checked: !Qt.colorEqual(kcm.accentColor, "transparent")
rightPadding: -accentColorButtonsLayout.spacing
onToggled: {
if (enabled) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment