1
0
Fork 0

Fix aircraft list divider margin

This commit is contained in:
James Turner 2018-07-02 14:17:05 +01:00
parent 4752d266c6
commit 946366a9d0

View file

@ -13,7 +13,7 @@ Item
Rectangle Rectangle
{ {
id: tabBar id: tabBar
height: installedAircraftButton.height + Style.margin height: searchButton.height + (Style.margin * 2)
width: parent.width width: parent.width
Row { Row {
@ -69,16 +69,16 @@ Item
active: root.state == "search" active: root.state == "search"
} }
Rectangle {
color: Style.frameColor
height: 1
width: parent.width - Style.inset
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
}
} }
Rectangle {
id: tabBarDivider
color: Style.frameColor
height: 1
width: parent.width - Style.inset
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: tabBar.bottom
}
Component { Component {
id: highlight id: highlight
@ -120,9 +120,10 @@ Item
anchors { anchors {
left: parent.left left: parent.left
top: tabBar.bottom top: tabBarDivider.bottom
bottom: parent.bottom bottom: parent.bottom
right: scrollbar.left right: scrollbar.left
topMargin: Style.margin
} }
delegate: AircraftCompactDelegate { delegate: AircraftCompactDelegate {