Fix aircraft list divider margin
This commit is contained in:
parent
4752d266c6
commit
946366a9d0
1 changed files with 11 additions and 10 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue