From 3b2ac9ac32924e79ccf7647a197a9c8cbc7b8ab1 Mon Sep 17 00:00:00 2001 From: kateleet Date: Tue, 21 Dec 2021 01:12:52 +0800 Subject: [PATCH] fix: bottom bar --- qml/FolderPage.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index 0c5b117..fb3ec22 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -269,7 +269,7 @@ Item { FishUI.BusyIndicator { id: _busyIndicator Layout.alignment: Qt.AlignLeft - Layout.fillHeight: true + height: statusBarHeight width: height running: visible visible: dirModel.status === FM.FolderModel.Listing @@ -277,6 +277,7 @@ Item { Label { text: dirModel.selectedItemSize + visible: dirModel.url !== "trash:///" } Item { @@ -284,8 +285,8 @@ Item { } Button { - Layout.fillHeight: true - Layout.alignment: Qt.AlignRight + id: _emptyTrashBtn + implicitHeight: statusBarHeight text: qsTr("Empty Trash") font.pointSize: 10 onClicked: dirModel.emptyTrash()