@ -32,6 +32,7 @@ ApplicationWindow
Constants { id: appconstants }
property alias stack: mainStackView
property alias keyboardFreeZone: _keyboardFreeZone
property variant activeDialogs: [ ]
@ -210,15 +211,13 @@ ApplicationWindow
}
/ / h a c k t o f o r c e r e l a y o u t o f t o o l b a r
/ / s i n c e q t 6 w a t c h O n l y I n d i c a t o r . v i s i b l e d o e s n ' t t r i g g e r r e l a y o u t ( ? )
/ / s i n c e q t 6 L i g h t n i n g N e t w o r k S t a t u s I n d i c a t o r . v i s i b l e d o e s n ' t t r i g g e r r e l a y o u t ( ? )
Item {
Layout.preferredHeight: 1
Layout.topMargin: - 1
Layout.preferredWidth: watchOnlyIndicator . visible
Layout.preferredWidth: lnnsi . visible
? 1
: lnnsi . visible
? 2
: 3
: 2
}
}
}
@ -226,7 +225,7 @@ ApplicationWindow
StackView {
id: mainStackView
width: parent . width
height: keyboardFreeZone . height - header . height
height: _ keyboardFreeZone. height - header . height
initialItem: Component {
WalletMainView { }
}
@ -270,7 +269,7 @@ ApplicationWindow
}
Item {
id: keyboardFreeZone
id: _ keyboardFreeZone
/ / I t e m a s f i r s t c h i l d i n O v e r l a y t h a t a d j u s t s i t s s i z e t o t h e a v a i l a b l e
/ / s c r e e n s p a c e m i n u s t h e v i r t u a l k e y b o a r d ( e . g . t o c e n t e r d i a l o g s i n )
/ / s e e a l s o E l D i a l o g . r e s i z e W i t h K e y b o a r d p r o p e r t y
@ -278,39 +277,42 @@ ApplicationWindow
width: parent . width
height: parent . height
states: State {
name: "visible"
when: Qt . inputMethod . visible
PropertyChanges {
target: keyboardFreeZone
height: keyboardFreeZone . parent . height - Qt . inputMethod . keyboardRectangle . height / Screen . devicePixelRatio
states: [
State {
name: 'visible'
when: Qt . inputMethod . keyboardRectangle . y
PropertyChanges {
target: _keyboardFreeZone
height: _keyboardFreeZone . parent . height - ( Screen . desktopAvailableHeight - ( Qt . inputMethod . keyboardRectangle . y / Screen . devicePixelRatio ) )
}
}
}
]
transitions: [
Transition {
from: ''
to: 'visible'
ParallelAnimation {
NumberAnimation {
properties: "height"
duration: 250
easing.type: Easing . OutQuad
}
NumberAnimation {
properties: 'height'
duration: 100
easing.type: Easing . OutQuad
}
} ,
Transition {
from: 'visible'
to: ''
ParallelAnimation {
SequentialAnimation {
PauseAnimation {
duration: 200
}
NumberAnimation {
properties: "height"
properties: 'height'
duration: 50
easing.type: Easing . OutQuad
}
}
}
]
}
property alias newWalletWizard: _newWalletWizard