mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
set height only when \!Qt.inputMethod.visible
This commit is contained in:
parent
d6df5f626b
commit
59e42a7551
1 changed files with 9 additions and 1 deletions
|
@ -23,7 +23,15 @@ Item {
|
||||||
property var room: null
|
property var room: null
|
||||||
property var roomPreview: null
|
property var roomPreview: null
|
||||||
property bool showBackButton: false
|
property bool showBackButton: false
|
||||||
property int fullHeight: height+Qt.inputMethod.keyboardRectangle.height
|
property int fullHeight
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
fullHeight = height
|
||||||
|
}
|
||||||
|
onHeightChanged: {
|
||||||
|
if(!Qt.inputMethod.visible)
|
||||||
|
fullHeight = height
|
||||||
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid)
|
visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid)
|
||||||
|
|
Loading…
Reference in a new issue