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 {
|
Loader {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
active: view.count === 0
|
|
||||||
|
opacity: view.count === 0 ? 1 : 0
|
||||||
|
active: opacity > 0
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
|
||||||
sourceComponent: ColumnLayout {
|
sourceComponent: ColumnLayout {
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
@ -67,6 +70,10 @@ Item {
|
||||||
font.weight: 500
|
font.weight: 500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Behavior on opacity {
|
||||||
|
Anim {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GridView {
|
GridView {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue