Fix the anchoring of the placeholder message after https://phabricator.kde.org/R108:9e5498238f88ece28f4f0d22da00879280cb7955
It needs to center on the free space, not the whole ListView.
Test Plan
Before:
After:
ngraham | |
broulik |
VDG | |
Plasma |
Fix the anchoring of the placeholder message after https://phabricator.kde.org/R108:9e5498238f88ece28f4f0d22da00879280cb7955
It needs to center on the free space, not the whole ListView.
Test Plan
Before:
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
The problem with setting both top and bottom anchors (or using anchors.fill) is that it stretches the component and distorts the spacing between its internal items. However this instance doesn't have multiple items, so it's fine. However please add a comment mentioning this, should someone ever add a text label or an icon in the future.
Probably safe for landing on 5.19.