mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-02-24 11:54:50 +08:00
update
This commit is contained in:
parent
a9d0dd9017
commit
79d29769e1
@ -16,13 +16,21 @@ Button{
|
||||
Rectangle{
|
||||
id:layout_color
|
||||
radius: 5
|
||||
color: container.colorValue
|
||||
color:"#00000000"
|
||||
border.color: {
|
||||
if(hovered)
|
||||
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
|
||||
|
||||
Rectangle{
|
||||
anchors.fill: parent
|
||||
anchors.margins: 4
|
||||
radius: 5
|
||||
color: container.colorValue
|
||||
}
|
||||
|
||||
}
|
||||
contentItem: Item{}
|
||||
onClicked: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user