SimpleKCM currently calculates the height of its page incorrectly in a few ways:
- flickable.contentHeight, which determines the base height, always gets set to 0
- Paddings and headers aren't taken into account
- There's an arbitrary maximum height of Kirigami.Units.gridUnit * 20
This patch takes paddings and headers into account, and changes the maximum height
so that it's based on a fraction of the available screen height, ensuring that tall KCMs
will fill the available space as often as possible.
RFC because flickable.contentHeight always evaluates to 0 and I can't figure out why.
BUG: 398820
FIXED-IN: 5.58