mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
update
This commit is contained in:
parent
d2183e350e
commit
0000e557a7
@ -52,12 +52,12 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
code:' showInfo("这是一个Info样式的InfoBar")
|
code:'showInfo("这是一个Info样式的InfoBar")
|
||||||
|
|
||||||
showWarning("这是一个Warning样式的InfoBar")
|
showWarning("这是一个Warning样式的InfoBar")
|
||||||
|
|
||||||
showError("这是一个Error样式的InfoBar")
|
showError("这是一个Error样式的InfoBar")
|
||||||
|
|
||||||
showSuccess("这是一个Success样式的InfoBar这是一个Success样式的InfoBar")'
|
showSuccess("这是一个Success样式的InfoBar这是一个Success样式的InfoBar")'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,9 @@ FluExpander{
|
|||||||
"FluWindow",
|
"FluWindow",
|
||||||
"FluWindowResize",
|
"FluWindowResize",
|
||||||
"FluToggleButton",
|
"FluToggleButton",
|
||||||
"FluTableView"
|
"FluTableView",
|
||||||
|
"FluColors",
|
||||||
|
"FluTheme",
|
||||||
];
|
];
|
||||||
code = code.replace(/\n/g, "<br>");
|
code = code.replace(/\n/g, "<br>");
|
||||||
code = code.replace(/ /g, " ");
|
code = code.replace(/ /g, " ");
|
||||||
|
@ -9,14 +9,6 @@ Item{
|
|||||||
property bool shadow: true
|
property bool shadow: true
|
||||||
default property alias contentItem: container.data
|
default property alias contentItem: container.data
|
||||||
|
|
||||||
Rectangle{
|
|
||||||
id:container
|
|
||||||
width: control.width
|
|
||||||
height: control.height
|
|
||||||
opacity: 0
|
|
||||||
color:control.color
|
|
||||||
}
|
|
||||||
|
|
||||||
FluShadow{
|
FluShadow{
|
||||||
anchors.fill: container
|
anchors.fill: container
|
||||||
radius: control.radius[0]
|
radius: control.radius[0]
|
||||||
@ -28,6 +20,14 @@ Item{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle{
|
||||||
|
id:container
|
||||||
|
width: control.width
|
||||||
|
height: control.height
|
||||||
|
opacity: 0
|
||||||
|
color:control.color
|
||||||
|
}
|
||||||
|
|
||||||
Canvas {
|
Canvas {
|
||||||
id: canvas
|
id: canvas
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Loading…
Reference in New Issue
Block a user