mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 01:51:24 +00:00
parent
6ceb4bde26
commit
45774e66af
@ -89,13 +89,20 @@ Control {
|
|||||||
id: scrollView
|
id: scrollView
|
||||||
visible: root.bio
|
visible: root.bio
|
||||||
padding: 0
|
padding: 0
|
||||||
rightPadding: scrollBar.visible ? 16 : 0
|
|
||||||
|
Binding on rightPadding {
|
||||||
|
delayed: true
|
||||||
|
value: scrollBar.visible ? 16 : 0
|
||||||
|
}
|
||||||
|
|
||||||
Layout.maximumHeight: 108
|
Layout.maximumHeight: 108
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
contentHeight: bioText.height
|
contentHeight: bioText.height
|
||||||
ScrollBar.vertical: StatusScrollBar {
|
ScrollBar.vertical: StatusScrollBar {
|
||||||
id: scrollBar
|
id: scrollBar
|
||||||
policy: bioText.height > scrollView.availableHeight ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
|
|
||||||
|
policy: bioText.height > scrollView.availableHeight
|
||||||
|
? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user