mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-04-24 11:53:17 +08:00
update
This commit is contained in:
parent
c330dc840e
commit
a02ee68483
@ -102,9 +102,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.NeutralButton
|
|
||||||
FluButton{
|
FluButton{
|
||||||
id:neutral_btn
|
id:neutral_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.NeutralButton
|
||||||
text: neutralText
|
text: neutralText
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
@ -121,9 +121,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.NegativeButton
|
|
||||||
FluButton{
|
FluButton{
|
||||||
id:negative_btn
|
id:negative_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.NegativeButton
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: negativeText
|
text: negativeText
|
||||||
@ -140,9 +140,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.PositiveButton
|
|
||||||
FluFilledButton{
|
FluFilledButton{
|
||||||
id:positive_btn
|
id:positive_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.PositiveButton
|
||||||
text: positiveText
|
text: positiveText
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
@ -8,7 +8,9 @@ Popup {
|
|||||||
id: popup
|
id: popup
|
||||||
padding: 0
|
padding: 0
|
||||||
modal:true
|
modal:true
|
||||||
anchors.centerIn: Overlay.overlay
|
parent: Overlay.overlay
|
||||||
|
x: Math.round((parent.width - width) / 2)
|
||||||
|
y: Math.round((parent.height - height) / 2)
|
||||||
closePolicy: Popup.CloseOnEscape
|
closePolicy: Popup.CloseOnEscape
|
||||||
enter: Transition {
|
enter: Transition {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
@ -102,9 +102,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.NeutralButton
|
|
||||||
FluButton{
|
FluButton{
|
||||||
id:neutral_btn
|
id:neutral_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.NeutralButton
|
||||||
text: neutralText
|
text: neutralText
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
@ -121,9 +121,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.NegativeButton
|
|
||||||
FluButton{
|
FluButton{
|
||||||
id:negative_btn
|
id:negative_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.NegativeButton
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: negativeText
|
text: negativeText
|
||||||
@ -140,9 +140,9 @@ FluPopup {
|
|||||||
Item{
|
Item{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
visible: control.buttonFlags&FluContentDialogType.PositiveButton
|
|
||||||
FluFilledButton{
|
FluFilledButton{
|
||||||
id:positive_btn
|
id:positive_btn
|
||||||
|
visible: control.buttonFlags&FluContentDialogType.PositiveButton
|
||||||
text: positiveText
|
text: positiveText
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
@ -8,7 +8,9 @@ Popup {
|
|||||||
id: popup
|
id: popup
|
||||||
padding: 0
|
padding: 0
|
||||||
modal:true
|
modal:true
|
||||||
anchors.centerIn: Overlay.overlay
|
parent: Overlay.overlay
|
||||||
|
x: Math.round((parent.width - width) / 2)
|
||||||
|
y: Math.round((parent.height - height) / 2)
|
||||||
closePolicy: Popup.CloseOnEscape
|
closePolicy: Popup.CloseOnEscape
|
||||||
enter: Transition {
|
enter: Transition {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user