Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve KeyPublisher's usability
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
chapulina committed Mar 3, 2022
1 parent a6afb94 commit 467677c
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions src/plugins/key_publisher/KeyPublisher.qml
Original file line number Diff line number Diff line change
@@ -15,13 +15,30 @@
*
*/

import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick 2.9
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.3

Rectangle {
visible: false
Layout.minimumWidth: 100
Layout.minimumHeight: 100
GridLayout {
columns: 1
columnSpacing: 10
Layout.minimumWidth: 350
Layout.minimumHeight: 200
anchors.fill: parent
anchors.margins: 10

Label {
Layout.columnSpan: 1
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: "Keystrokes are being published to topic:\n'/keyboard/keypress'."
}


Item {
Layout.columnSpan: 1
width: 10
Layout.fillHeight: true
}
}

0 comments on commit 467677c

Please sign in to comment.