Commit 97cfd759 authored by Devin Lin's avatar Devin Lin 🎨 Committed by Nate Graham
Browse files

kcms/colors: Ensure that accent color dots always fit on narrow screens

Part of the teams/plasma-mobile/issues#158 initiative
parent f3186ab1
Pipeline #187328 passed with stage
in 6 minutes and 23 seconds
......@@ -168,6 +168,7 @@ KCM.GridViewKCM {
spacing: 0
QtControls.RadioButton {
id: accentBox
Layout.alignment: Qt.AlignVCenter
checked: !Qt.colorEqual(kcm.accentColor, "transparent") && !kcm.accentColorFromWallpaper
onToggled: {
......@@ -178,7 +179,9 @@ KCM.GridViewKCM {
}
}
RowLayout {
Flow {
id: colourFlow
width: root.width - accentBox.width
spacing: accentBox.spacing
component ColorRadioButton : T.RadioButton {
id: control
......
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