Commit f26b714b authored by Nate Graham's avatar Nate Graham
Browse files

Use QQC2 ToolBar correctly

It has a Position property so we can use that and not have to make a
custom footer appearance.
parent 0b1d1e7f
......@@ -19,10 +19,7 @@ QQC2.ToolBar {
signal colorschemeChanged(int index)
signal sliderValueChanged(int val)
// Normally Toolbars use header colors, but this is a footer! So use the
// window color set instead
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
position: QQC2.ToolBar.Footer
RowLayout {
anchors.fill: parent
......@@ -118,14 +118,6 @@ Kirigami.ApplicationWindow {
// ToolsResponsive is a QQC2 toolbar which automatically draws a
// separator line on the bottom, but not on the top, and we need one
// on the top because we're using it as a footer, so we have to draw
// our own separator
Kirigami.Separator {
Layout.fillWidth: true
visible: toolsResponsive.visible
ToolsResponsive {
visible: !cuttlefish.widescreen
id: toolsResponsive
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment