mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 01:27:25 +00:00
fix(Profile/LeftTabView): menu should not scroll horizontally
Closes #5276
This commit is contained in:
parent
9e89915414
commit
195419a23d
@ -20,9 +20,8 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
ScrollBar.horizontal.policy: Qt.ScrollBarAlwaysOff
|
contentWidth: availableWidth
|
||||||
contentHeight: profileMenu.height + 24
|
contentHeight: profileMenu.height + 24
|
||||||
clip: true
|
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: Style.current.smallPadding
|
anchors.rightMargin: Style.current.smallPadding
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -30,6 +29,8 @@ Item {
|
|||||||
anchors.top: title.bottom
|
anchors.top: title.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
clip: true
|
||||||
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
|
|
||||||
MenuPanel {
|
MenuPanel {
|
||||||
id: profileMenu
|
id: profileMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user