Skip to content

kcms/colors: Implement radio button layouts better

The issue here is that we have content in a RowLayout where we want the first item to have less spacing than all subsequent ones.

Before this MR, it was implemented by giving the first item a negative right margin, which was wrong and took advantage of a quirk in the qqc2-desktop-style that there was always extra space to subtract. With this MR, we have a RowLayout-within-a-RowLayout, and the first one has spacing: 0 and the second one has normal spacing.

@davidedmundson

Edited by Nate Graham

Merge request reports

Loading