Commit 1c2d205a authored by camilo higuita's avatar camilo higuita

quick needed fixes for appimage creation

parent 3a7b307a
......@@ -184,12 +184,11 @@ Maui.ApplicationWindow
]
headBar.visible: !fullScreen
headBar.spacing: space.huge
headBar.spacing: space.big
headBar.middleContent: [
Maui.ToolButton
{
text: qsTr("Viewer")
Layout.fillHeight:true
showIndicator: true
active: currentView === views.viewer
visible: !pixViewer.holder.visible
......@@ -201,7 +200,6 @@ Maui.ApplicationWindow
Maui.ToolButton
{
text: qsTr("Gallery")
Layout.fillHeight:true
active: currentView === views.gallery
showIndicator: true
iconColor: active ? highlightColor : headBarFGColor
......@@ -212,7 +210,6 @@ Maui.ApplicationWindow
Maui.ToolButton
{
text: qsTr("Folders")
Layout.fillHeight:true
active: currentView === views.folders
showIndicator: true
iconColor: active ? highlightColor : headBarFGColor
......@@ -223,7 +220,6 @@ Maui.ApplicationWindow
Maui.ToolButton
{
text: qsTr("Albums")
Layout.fillHeight:true
active: currentView === views.albums
showIndicator: true
iconColor: active ? highlightColor : headBarFGColor
......
......@@ -12,14 +12,10 @@ import "../../dialogs/Albums"
import "../../dialogs/Tags"
Kirigami.PageRow
StackView
{
id: albumsPageRoot
id: stackView
property alias albumsGrid : albumGrid
separatorVisible: albumsPageRoot.wideMode
initialPage: [albumsPage, picsView]
defaultColumnWidth: parent.width
interactive: albumsPageRoot.currentIndex === 1
clip: true
TagsDialog
......@@ -37,7 +33,7 @@ Kirigami.PageRow
onFinished: addAlbum(text)
}
Maui.Page
initialItem: Maui.Page
{
id: albumsPage
headBar.visible: false
......@@ -67,8 +63,6 @@ Kirigami.PageRow
PixGrid
{
id: picsView
anchors.fill: parent
headBar.visible: true
holder.title: "No Pics!"
......@@ -77,11 +71,11 @@ Kirigami.PageRow
holder.emojiSize: iconSizes.huge
holder.emoji: "qrc:/img/assets/MoonSki.png"
headBarExit: albumsPageRoot.currentIndex === 1
headBarExit: true
headBarExitIcon: "go-previous"
headBarTitle: albumGrid.currentAlbum
onExit: albumsPageRoot.currentIndex = 0
onExit: stackView.pop()
footer: Maui.TagsBar
{
......@@ -145,7 +139,7 @@ Kirigami.PageRow
function populateAlbum(query)
{
albumsPageRoot.currentIndex = 1
stackView.push(picsView)
picsView.list.query = query
}
......
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