HFlickable: interactive even if nothing to scroll
This commit is contained in:
parent
cfee1b1e4b
commit
48faac9a32
|
@ -4,7 +4,6 @@ import QtQuick 2.12
|
||||||
import QtQuick.Controls 2.12
|
import QtQuick.Controls 2.12
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
interactive: contentWidth > width || contentHeight > height
|
|
||||||
ScrollBar.vertical: ScrollBar {
|
ScrollBar.vertical: ScrollBar {
|
||||||
visible: parent.interactive
|
visible: parent.interactive
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user