mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-04-26 21:24:17 +08:00
update
This commit is contained in:
parent
a9d0dd9017
commit
79d29769e1
@ -16,13 +16,21 @@ Button{
|
|||||||
Rectangle{
|
Rectangle{
|
||||||
id:layout_color
|
id:layout_color
|
||||||
radius: 5
|
radius: 5
|
||||||
color: container.colorValue
|
color:"#00000000"
|
||||||
border.color: {
|
border.color: {
|
||||||
if(hovered)
|
if(hovered)
|
||||||
return FluTheme.primaryColor.light
|
return FluTheme.primaryColor.light
|
||||||
return FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
return FluTheme.dark ? Qt.rgba(100/255,100/255,100/255,1) : Qt.rgba(200/255,200/255,200/255,1)
|
||||||
}
|
}
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
|
||||||
|
Rectangle{
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 4
|
||||||
|
radius: 5
|
||||||
|
color: container.colorValue
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
contentItem: Item{}
|
contentItem: Item{}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user