1
0
Fork 0

Fix scrolling of Launcxher FirstRun

Johnathan R pointed out that for wider windows, the button was
invisible, fix this will a scrollbar.
This commit is contained in:
Automatic Release Builder 2020-10-03 14:35:51 +01:00 committed by James Turner
parent f8222da1da
commit 1ef6578ad4

View file

@ -3,10 +3,25 @@ import FlightGear 1.0
import FlightGear.Launcher 1.0 import FlightGear.Launcher 1.0
import "." import "."
Rectangle { Item {
color: Style.themeColor
id: root id: root
Rectangle {
id: content
color: Style.themeColor
anchors.fill: parent
}
Flickable {
id: flick
contentHeight: textColumn.childrenRect.height + imageClipFrame.height + (Style.strutSize * 2)
flickableDirection: Flickable.VerticalFlick
anchors.fill: parent
Item { Item {
id: imageClipFrame id: imageClipFrame
clip: true clip: true
@ -59,6 +74,7 @@ Rectangle {
Column { Column {
id: textColumn
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
@ -134,7 +150,15 @@ Rectangle {
} }
} // of column } // of column
} // of Flickable
Scrollbar {
id: scrollbar
anchors.right: parent.right
height: flick.height
flickable: flick
visible: flick.contentHeight > flick.height
}
} } // of Item