diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..0ce7a27d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "MicroPython.executeButton": [ + { + "text": "▶", + "tooltip": "运行", + "alignment": "left", + "command": "extension.executeFile", + "priority": 3.5 + } + ], + "MicroPython.syncButton": [ + { + "text": "$(sync)", + "tooltip": "同步", + "alignment": "left", + "command": "extension.execute", + "priority": 4 + } + ] +} \ No newline at end of file diff --git a/example/qml/page/T_Pivot.qml b/example/qml/page/T_Pivot.qml index 8f95b801..60cb274c 100644 --- a/example/qml/page/T_Pivot.qml +++ b/example/qml/page/T_Pivot.qml @@ -49,26 +49,26 @@ FluScrollablePage{ Layout.topMargin: -6 code:'FluPivot{ anchors.fill: parent - FluPivotItem:{ - text: qsTr("All") + FluPivotItem { + title: qsTr("All") contentItem: FluText{ text: qsTr("All emails go here.") } } - FluPivotItem:{ - text: qsTr("Unread") + FluPivotItem { + title: qsTr("Unread") contentItem: FluText{ text: qsTr("Unread emails go here.") } } - FluPivotItem:{ - text: qsTr("Flagged") + FluPivotItem { + title: qsTr("Flagged") contentItem: FluText{ text: qsTr("Flagged emails go here.") } } - FluPivotItem:{ - text: qsTr("Urgent") + FluPivotItem { + title: qsTr("Urgent") contentItem: FluText{ text: qsTr("Urgent emails go here.") }