filedialog: anim empty text
This commit is contained in:
parent
d034f31624
commit
dbf87354af
1 changed files with 8 additions and 1 deletions
|
|
@ -49,8 +49,11 @@ Item {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
active: view.count === 0
|
||||
|
||||
opacity: view.count === 0 ? 1 : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ColumnLayout {
|
||||
MaterialIcon {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
@ -67,6 +70,10 @@ Item {
|
|||
font.weight: 500
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on opacity {
|
||||
Anim {}
|
||||
}
|
||||
}
|
||||
|
||||
GridView {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue