qml/RoomDrawer: Add & fix separators
A separator has been added to the drawer view's left side, and the position of the NavigationTabBar has been set so it correctly draws the separator at the top and not the bottom.
This commit is contained in:
committed by
Tobias Fella
parent
607db82db0
commit
5a03ce4e95
@@ -81,7 +81,14 @@ Kirigami.OverlayDrawer {
|
|||||||
id: loader
|
id: loader
|
||||||
active: root.drawerOpen
|
active: root.drawerOpen
|
||||||
|
|
||||||
sourceComponent: ColumnLayout {
|
sourceComponent: RowLayout {
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
|
Kirigami.Separator {
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
Component.onCompleted: infoAction.toggle()
|
Component.onCompleted: infoAction.toggle()
|
||||||
@@ -145,6 +152,8 @@ Kirigami.OverlayDrawer {
|
|||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
||||||
Kirigami.Theme.inherit: false
|
Kirigami.Theme.inherit: false
|
||||||
|
|
||||||
|
position: QQC2.ToolBar.Footer
|
||||||
|
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
id: infoAction
|
id: infoAction
|
||||||
@@ -162,3 +171,4 @@ Kirigami.OverlayDrawer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user