Skip to content

kcm: Limit the width of the scaling slider

Ismael Asensio requested to merge work/fix_kcm_flood into master

When the screen name is too long, the combobox implicitWidth is wider than the available space, making the layout virtually equally large.

Limit the slider width to the same amount as the combobox

There's a visual change only on some of the cases, but I think is for the better. CCing @teams/vdg anyway

Depends on: frameworks/kirigami!260 (merged)

BUG: 434383 FIXED-IN: 5.22

BEFORE AFTER
Narrow View kscreen_before_narrow kscreen_after_narrow
Wide View kscreen_before_wide kscreen_twinlayouts_boundaries
Edited by Ismael Asensio

Merge request reports

Loading