fix: bottom bar

This commit is contained in:
kateleet 2021-12-21 01:12:52 +08:00
parent 1350b8d7ad
commit 3b2ac9ac32

View file

@ -269,7 +269,7 @@ Item {
FishUI.BusyIndicator { FishUI.BusyIndicator {
id: _busyIndicator id: _busyIndicator
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.fillHeight: true height: statusBarHeight
width: height width: height
running: visible running: visible
visible: dirModel.status === FM.FolderModel.Listing visible: dirModel.status === FM.FolderModel.Listing
@ -277,6 +277,7 @@ Item {
Label { Label {
text: dirModel.selectedItemSize text: dirModel.selectedItemSize
visible: dirModel.url !== "trash:///"
} }
Item { Item {
@ -284,8 +285,8 @@ Item {
} }
Button { Button {
Layout.fillHeight: true id: _emptyTrashBtn
Layout.alignment: Qt.AlignRight implicitHeight: statusBarHeight
text: qsTr("Empty Trash") text: qsTr("Empty Trash")
font.pointSize: 10 font.pointSize: 10
onClicked: dirModel.emptyTrash() onClicked: dirModel.emptyTrash()