mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 11:27:25 -04:00
Scrollbar: don't autohide if enabled (except on Mac)
This commit is contained in:
@@ -196,6 +196,7 @@ Rectangle {
|
|||||||
anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
|
anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
|
anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
|
||||||
|
onActiveChanged: if (!active && !isMac) active = true
|
||||||
}
|
}
|
||||||
|
|
||||||
onFlickingChanged: {
|
onFlickingChanged: {
|
||||||
|
|||||||
@@ -124,7 +124,9 @@ Rectangle {
|
|||||||
Flickable {
|
Flickable {
|
||||||
id: flickable
|
id: flickable
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
ScrollBar.vertical: ScrollBar { }
|
ScrollBar.vertical: ScrollBar {
|
||||||
|
onActiveChanged: if (!active && !isMac) active = true
|
||||||
|
}
|
||||||
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
|
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
|
||||||
|
|
||||||
TextArea.flickable: TextArea {
|
TextArea.flickable: TextArea {
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ Rectangle {
|
|||||||
Flickable {
|
Flickable {
|
||||||
id: flickable
|
id: flickable
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
|
||||||
|
|
||||||
TextArea.flickable: TextArea {
|
TextArea.flickable: TextArea {
|
||||||
id : consoleArea
|
id : consoleArea
|
||||||
@@ -203,7 +204,9 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBar {}
|
ScrollBar.vertical: ScrollBar {
|
||||||
|
onActiveChanged: if (!active && !isMac) active = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ Rectangle {
|
|||||||
anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
|
anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
|
anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
|
||||||
|
onActiveChanged: if (!active && !isMac) active = true
|
||||||
}
|
}
|
||||||
|
|
||||||
onFlickingChanged: {
|
onFlickingChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user