diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-02 21:09:09 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-06 14:31:09 +0200 |
commit | 5ca072446a89d89e4017b6a04cc1ea14853a9f65 (patch) | |
tree | 4ded81113fd39bcd45b2b404b51a3f7671d7534d /tests/auto | |
parent | b68a83595d77d9967b5296858865c6a11d1022de (diff) |
Native style, StyleItem: add property 'minimumSize'
Some items, like the scrollbar handle, can scale
the handle down to 0 if no minimumSize is set. This
will truncate the image drawn by QStyle.
This patch will expose the minimum size read from
QStyle to the QML control. We can then set
ScrollBar.minimumSize to the correct value.
Change-Id: Ib87e3ca7ea661bf41ab8057941fec7364b606177
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions