Commit 0e0e4df4 authored by Camilo Higuita's avatar Camilo Higuita

ui fixes

parent 8e7c12e4
......@@ -26,7 +26,7 @@ ApplicationWindow
// property int columnWidth: Kirigami.Units.gridUnit * 13
property int columnWidth: 200
property int columnWidth: 250
property int currentView : 0
property int iconSize
......
......@@ -35,28 +35,34 @@ ToolBar
{
anchors.fill: parent
ToolButton
Row
{
id: playlistView
Icon
Layout.alignment: Qt.AlignLeft
ToolButton
{
text: MdiFont.Icon.play
color: currentIndex === 0? accentColor : textColor
iconSize: size
}
id: playlistView
Icon
{
text: MdiFont.Icon.headphones
color: currentIndex === 0? accentColor : textColor
iconSize: size
}
onClicked: playlistViewClicked()
onClicked: playlistViewClicked()
hoverEnabled: true
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Playlist")
hoverEnabled: true
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Playlist")
}
}
Row
{
anchors.centerIn: parent
Layout.alignment: Qt.AlignCenter
ToolButton
{
id: tracksView
......@@ -141,6 +147,13 @@ ToolBar
ToolTip.text: qsTr("Playlists")
}
}
Row
{
Layout.alignment: Qt.AlignRight
ToolButton
{
id: settingsView
......
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