Skip to content

Commit

Permalink
Improve KeyPublisher's usability (#362)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Mar 3, 2022
1 parent 9fa41b6 commit fc2f870
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
Expand Up @@ -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 fc2f870

Please sign in to comment.