Prevent flicking page when it 100% fits in window
This commit is contained in:
parent
18c9ff30cb
commit
83cc148cdc
|
@ -64,6 +64,7 @@ Page {
|
|||
clip: true
|
||||
contentWidth: parent.width
|
||||
contentHeight: boxColumn.childrenRect.height
|
||||
interactive: contentWidth > width || contentHeight > height
|
||||
|
||||
HColumnLayout {
|
||||
id: boxColumn
|
||||
|
|
|
@ -48,8 +48,7 @@ HGridLayout {
|
|||
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
Layout.preferredWidth:
|
||||
Math.min(flickable.height, theme.minimumSupportedWidth)
|
||||
Layout.preferredWidth: Math.min(flickable.height, avatarPreferredSize)
|
||||
Layout.preferredHeight: Layout.preferredWidth
|
||||
|
||||
HFileDialogOpener {
|
||||
|
|
Loading…
Reference in New Issue
Block a user