Commit f1fe9cad authored by Alberto Mardegan's avatar Alberto Mardegan
Browse files

ViewerPage: anchor view to keyboard rectangle

parent 1b65715c
import QtQuick 2.7
Item {
id: root
anchors { left: parent.left; right: parent.right; bottom: parent.bottom }
height: Qt.inputMethod.keyboardRectangle.height
}
......@@ -12,7 +12,10 @@ Page {
ZoomPanHandler {
id: zoomPanHandler
anchors.fill: parent
anchors {
left: parent.left; right: parent.right;
top: parent.top; bottom: keyboardRectangle.top
}
viewer: viewer
VncOutput {
......@@ -31,6 +34,10 @@ Page {
}
}
KeyboardRectangle {
id: keyboardRectangle
}
function toggleFullScreen() {
var window = Window.window
if (window.visibility == Window.FullScreen) {
......
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/">
<file>BackButton.qml</file>
<file>KeyboardRectangle.qml</file>
<file>MainPage.qml</file>
<file>OsdRow.qml</file>
<file>OsdButton.qml</file>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment