[kcmkwin/kwindesktop] Drop local back for Formlayout label width

This hack was added in the past to prevent the combobox from being
pushed out of view when the label next to it was very long, as it can be
in certain languages. However it had the effect of making the label get
elided in *all* languages, and also the issue it was working around is
no longer present; even with very long text, the combobox no longer gets
pushed out of view, and instead the formlayout first switches to mobile
view and then elides the Label, exactly as intended. So we can safely
remove the hack.

BUG: 438504
FIXED-IN: 5.22.2
This commit is contained in:
Nate Graham 2021-06-15 17:24:26 -06:00
parent 250169ff84
commit 77affd3259

View file

@ -213,9 +213,7 @@ KCM.ScrollViewKCM {
QQC2.CheckBox {
id: animationEnabled
// Let it elide but don't make it push the ComboBox away from it
Layout.fillWidth: true
Layout.maximumWidth: implicitWidth
text: i18n("Show animation when switching:")