[app] Fixed the "cancel load" button
Now it disappears after loading is done and becomes compatible with SFOS 1.1.7
This commit is contained in:
parent
d82564509c
commit
01e9c614a0
1 changed files with 2 additions and 1 deletions
|
@ -233,13 +233,14 @@ SilicaFlickable {
|
|||
Button {
|
||||
//% "Cancel"
|
||||
text: qsTrId("book-view-cancel-loading")
|
||||
preferredWidth: Theme.buttonWidthMedium
|
||||
width: Math.max(Theme.buttonWidthMedium, implicitWidth)
|
||||
height: Theme.itemSizeLarge
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
onClicked: root.closeBook()
|
||||
enabled: _loading
|
||||
opacity: enabled ? 1.0 : 0.0
|
||||
Behavior on opacity { FadeAnimation { } }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue