diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2023-01-13 11:26:24 +0200 |
---|---|---|
committer | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2023-01-13 14:47:50 +0200 |
commit | c7889d7a5f26fcd15153983a84bb05dea466f3f4 (patch) | |
tree | 98c456eb329347b152c43f26d938e24824201b08 /examples/datavisualization/qmlmultigraph/qml | |
parent | d8695d893658a82ef9d95d90efb5e5d30477abb7 (diff) |
Fix typo in qmlmultigraph example
Change-Id: Ic3fb7e95e78f9bad261793c7c4c6443e2edd867d
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'examples/datavisualization/qmlmultigraph/qml')
-rw-r--r-- | examples/datavisualization/qmlmultigraph/qml/qmlmultigraph/main.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/datavisualization/qmlmultigraph/qml/qmlmultigraph/main.qml b/examples/datavisualization/qmlmultigraph/qml/qmlmultigraph/main.qml index 07273190..69590183 100644 --- a/examples/datavisualization/qmlmultigraph/qml/qmlmultigraph/main.qml +++ b/examples/datavisualization/qmlmultigraph/qml/qmlmultigraph/main.qml @@ -12,7 +12,7 @@ Item { width: 800 height: 600 - property bool portratiMode: width < height + property bool portraitMode: width < height Data { id: data @@ -78,7 +78,7 @@ Item { Layout.minimumWidth: parent.width / 2 Layout.fillHeight: true Layout.fillWidth: true - text: portratiMode ? "Clear\nSelections" : "Clear Selections" + text: portraitMode ? "Clear\nSelections" : "Clear Selections" onClicked: clearSelections() // call a helper function to keep button itself simpler } @@ -93,14 +93,14 @@ Item { Button { Layout.fillHeight: true Layout.fillWidth: true - text: portratiMode ? "Reset\nCameras" : "Reset Cameras" + text: portraitMode ? "Reset\nCameras" : "Reset Cameras" onClicked: resetCameras() // call a helper function to keep button itself simpler } Button { Layout.fillHeight: true Layout.fillWidth: true - text: portratiMode ? "Toggle\nMesh\nStyles" : "Toggle Mesh Styles" + text: portraitMode ? "Toggle\nMesh\nStyles" : "Toggle Mesh Styles" onClicked: toggleMeshStyle() // call a helper function to keep button itself simpler } } |