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