fix(Profile/LeftTabView): menu should not scroll horizontally

Closes #5276
This commit is contained in:
Alexandra Betouni 2022-05-31 16:32:39 +03:00 committed by Alexandra Betouni
parent 9e89915414
commit 195419a23d
1 changed files with 3 additions and 2 deletions

View File

@ -20,9 +20,8 @@ Item {
}
ScrollView {
ScrollBar.horizontal.policy: Qt.ScrollBarAlwaysOff
contentWidth: availableWidth
contentHeight: profileMenu.height + 24
clip: true
anchors.right: parent.right
anchors.rightMargin: Style.current.smallPadding
anchors.left: parent.left
@ -30,6 +29,8 @@ Item {
anchors.top: title.bottom
anchors.topMargin: Style.current.padding
anchors.bottom: parent.bottom
clip: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
MenuPanel {
id: profileMenu