Launcher: Fix scrollbar for next
This commit is contained in:
parent
0dfdf63399
commit
4075ea02e9
3 changed files with 11 additions and 18 deletions
|
@ -1,4 +1,6 @@
|
|||
import QtQuick 2.4
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
import FlightGear 1.0
|
||||
import FlightGear.Launcher 1.0
|
||||
import "."
|
||||
|
@ -19,6 +21,8 @@ Item {
|
|||
contentHeight: textColumn.childrenRect.height + imageClipFrame.height + (Style.strutSize * 2)
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
|
||||
ScrollBar.vertical: ScrollBar {}
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
|
||||
|
@ -151,13 +155,4 @@ Item {
|
|||
|
||||
} // of Flickable
|
||||
|
||||
|
||||
Scrollbar {
|
||||
id: scrollbar
|
||||
anchors.right: parent.right
|
||||
height: flick.height
|
||||
flickable: flick
|
||||
visible: flick.contentHeight > flick.height
|
||||
}
|
||||
|
||||
} // of Item
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
import QtQuick 2.4
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
import FlightGear.Launcher 1.0
|
||||
import "."
|
||||
|
||||
|
@ -17,9 +19,10 @@ Item {
|
|||
contentHeight: contentColumn.childrenRect.height
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
height: parent.height
|
||||
width: parent.width - (Style.strutSize * 4 + scrollbar.width)
|
||||
width: parent.width - (Style.strutSize * 4)
|
||||
x: Style.strutSize * 2
|
||||
y: Style.strutSize
|
||||
ScrollBar.vertical: ScrollBar {}
|
||||
|
||||
Column {
|
||||
id: contentColumn
|
||||
|
@ -83,12 +86,4 @@ Item {
|
|||
}
|
||||
|
||||
} // of flickable
|
||||
|
||||
Scrollbar {
|
||||
id: scrollbar
|
||||
anchors.right: parent.right
|
||||
height: flick.height
|
||||
flickable: flick
|
||||
visible: flick.contentHeight > flick.height
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
import QtQuick 2.4
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
import FlightGear 1.0
|
||||
import FlightGear.Launcher 1.0
|
||||
import "."
|
||||
|
@ -271,6 +273,7 @@ Item {
|
|||
model: root.locationModel
|
||||
delegate: locationSearchDelegate
|
||||
clip: true
|
||||
ScrollBar.vertical: ScrollBar {}
|
||||
|
||||
header: Item {
|
||||
visible: !root.showCarriers && _location.searchModel.isSearchActive
|
||||
|
|
Loading…
Reference in a new issue