main
朱子楚\zhuzi 2023-04-08 20:44:27 +08:00
parent d2183e350e
commit 0000e557a7
3 changed files with 15 additions and 13 deletions

View File

@ -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, "&nbsp;"); code = code.replace(/ /g, "&nbsp;");

View File

@ -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