From 986f1242dd2a604df4ab5263322c226dddea0765 Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Mon, 3 Apr 2023 09:32:06 +0800 Subject: [PATCH] update --- example/T_Awesome.qml | 1 - example/T_Badge.qml | 2 +- example/T_Buttons.qml | 16 +++++++--------- example/T_CalendarPicker.qml | 4 ++-- example/T_Carousel.qml | 2 +- example/T_ColorPicker.qml | 4 ++-- example/T_DatePicker.qml | 4 ++-- example/T_FlipView.qml | 4 ++-- example/T_MediaPlayer.qml | 4 ++-- example/T_MultiWindow.qml | 6 ++---- example/T_TabView.qml | 6 +++--- example/T_TimePicker.qml | 4 ++-- example/T_Tooltip.qml | 4 ++-- 13 files changed, 28 insertions(+), 33 deletions(-) diff --git a/example/T_Awesome.qml b/example/T_Awesome.qml index 8df90076..af40f9f0 100644 --- a/example/T_Awesome.qml +++ b/example/T_Awesome.qml @@ -67,7 +67,6 @@ FluContentPage { width:parent.width wrapMode: Text.WrapAnywhere text: modelData.name - horizontalAlignment: Text.AlignHCenter } } diff --git a/example/T_Badge.qml b/example/T_Badge.qml index 864b95e2..c881231b 100644 --- a/example/T_Badge.qml +++ b/example/T_Badge.qml @@ -13,7 +13,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 106 paddings: 10 diff --git a/example/T_Buttons.qml b/example/T_Buttons.qml index 782abea3..0746f80d 100644 --- a/example/T_Buttons.qml +++ b/example/T_Buttons.qml @@ -19,7 +19,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -50,7 +50,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -81,7 +81,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -113,7 +113,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -145,7 +145,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -186,7 +186,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 100 paddings: 10 @@ -228,7 +228,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 paddings: 10 @@ -255,6 +255,4 @@ FluScrollablePage{ } } } - - } diff --git a/example/T_CalendarPicker.qml b/example/T_CalendarPicker.qml index 9eac1b7f..7ee1c9ec 100644 --- a/example/T_CalendarPicker.qml +++ b/example/T_CalendarPicker.qml @@ -12,7 +12,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 350 paddings: 10 @@ -21,7 +21,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 80 paddings: 10 diff --git a/example/T_Carousel.qml b/example/T_Carousel.qml index 1d2d9ea1..e678644a 100644 --- a/example/T_Carousel.qml +++ b/example/T_Carousel.qml @@ -12,7 +12,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true height: 370 paddings: 10 Layout.topMargin: 20 diff --git a/example/T_ColorPicker.qml b/example/T_ColorPicker.qml index 29bcd87d..e9475177 100644 --- a/example/T_ColorPicker.qml +++ b/example/T_ColorPicker.qml @@ -12,7 +12,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true height: 280 Layout.topMargin: 20 paddings: 10 @@ -39,7 +39,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 60 paddings: 10 diff --git a/example/T_DatePicker.qml b/example/T_DatePicker.qml index 7ba234e3..bc9b9772 100644 --- a/example/T_DatePicker.qml +++ b/example/T_DatePicker.qml @@ -12,7 +12,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 80 paddings: 10 @@ -36,7 +36,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 80 paddings: 10 diff --git a/example/T_FlipView.qml b/example/T_FlipView.qml index 4b9fe2e3..27da14e0 100644 --- a/example/T_FlipView.qml +++ b/example/T_FlipView.qml @@ -13,7 +13,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true height: 340 paddings: 10 Layout.topMargin: 20 @@ -44,7 +44,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 340 paddings: 10 Layout.topMargin: 20 diff --git a/example/T_MediaPlayer.qml b/example/T_MediaPlayer.qml index beaf4745..0315ec9f 100644 --- a/example/T_MediaPlayer.qml +++ b/example/T_MediaPlayer.qml @@ -20,7 +20,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 320 Layout.topMargin: 20 paddings: 10 @@ -37,7 +37,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 68 Layout.topMargin: 20 paddings: 10 diff --git a/example/T_MultiWindow.qml b/example/T_MultiWindow.qml index af6219ea..01a17657 100644 --- a/example/T_MultiWindow.qml +++ b/example/T_MultiWindow.qml @@ -24,7 +24,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 100 paddings: 10 Layout.topMargin: 20 @@ -48,7 +48,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true height: 130 paddings: 10 Layout.topMargin: 20 @@ -75,6 +75,4 @@ FluScrollablePage{ } } - - } diff --git a/example/T_TabView.qml b/example/T_TabView.qml index 67797341..58e37e8b 100644 --- a/example/T_TabView.qml +++ b/example/T_TabView.qml @@ -32,7 +32,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 50 paddings: 10 @@ -69,7 +69,7 @@ FluScrollablePage{ FluDropDownButton{ id:btn_close_button_visibility text:"Always" - Layout.preferredWidth: 120 + Layout.preferredWidth: 120 items:[ FluMenuItem{ text:"Nerver" @@ -98,7 +98,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 5 height: 400 paddings: 10 diff --git a/example/T_TimePicker.qml b/example/T_TimePicker.qml index 71c1b0ca..6847c44c 100644 --- a/example/T_TimePicker.qml +++ b/example/T_TimePicker.qml @@ -12,7 +12,7 @@ FluScrollablePage{ bottomPadding:20 FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 80 paddings: 10 @@ -36,7 +36,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 80 paddings: 10 diff --git a/example/T_Tooltip.qml b/example/T_Tooltip.qml index b28212c8..ba0705b6 100644 --- a/example/T_Tooltip.qml +++ b/example/T_Tooltip.qml @@ -18,7 +18,7 @@ FluScrollablePage{ FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 68 paddings: 10 @@ -44,7 +44,7 @@ FluScrollablePage{ } FluArea{ - width: parent.width + Layout.fillWidth: true Layout.topMargin: 20 height: 68 paddings: 10