Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 95857e46 authored by camilo higuita's avatar camilo higuita

ok to use global drawer still for now

parent 5dcdb124
......@@ -308,20 +308,20 @@ Maui.ApplicationWindow
Layout.fillWidth: true
position: ToolBar.Footer
leftContent: ToolButton
{
icon.name: "headphones"
checked: _drawer.visible
icon.color: _drawer.visible ? babeColor : Kirigami.Theme.textColor
onClicked:
{
console.log("SHOW DRAWER?", _drawer.visible)
_drawer.visible = !_drawer.visible
}
Kirigami.Theme.highlightColor: babeColor
// text: qsTr("Now")
}
leftContent: ToolButton
{
icon.name: "headphones"
checked: _drawer.visible
icon.color: _drawer.visible ? babeColor : Kirigami.Theme.textColor
onClicked:
{
console.log("SHOW DRAWER?", _drawer.visible)
_drawer.visible = !_drawer.visible
}
Kirigami.Theme.highlightColor: babeColor
// text: qsTr("Now")
}
middleContent: [
ToolButton
......@@ -641,14 +641,14 @@ Maui.ApplicationWindow
id: playlistDialog
}
sideBar: Maui.AbstractSideBar
globalDrawer: Maui.GlobalDrawer
{
id: _drawer
width: visible ? Math.min(Kirigami.Units.gridUnit * 18, root.width) : 0
handleVisible: false
modal: !isWide
closePolicy: Popup.NoAutoClose
MainPlaylist
contentItem: MainPlaylist
{
id: mainPlaylist
anchors.fill: parent
......
......@@ -20,7 +20,8 @@ Item
Text
{
text: lyrics || "Nothing here"
color: foregrou Maui.Style.fontSizes. font.pointSize: fontSizes.big
color: foregroundColor
font.pointSize: Maui.Style.fontSizes.big
horizontalAlignment: Qt.AlignHCenter
textFormat: Text.StyledText
}
......
Markdown is supported
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