Skip to content

DialogButtonBox: Fix sizing

Kai Uwe Broulik requested to merge work/kbroulik/dialogbuttonbox-fixes into master

Adapt to upstream behavior and fix the spacing calculation.

There's only 1/(n-1)th spacing for each button, don't subtract the total spacing for every single button.

CCBUG: 470606


@ngraham

Makes MessageDialog slightly less bad looking. Its size unfortunately is still hard-coded and doesn’t adapt at all...

Don’t know if we use DialogButtonBox anywhere else in Plasma/Kirigami.

Before

Screenshot_20230824_132545

After

Screenshot_20230824_132429

Merge request reports