DialogButtonBox: Fix sizing
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.
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
After