This commit is contained in:
zhuzihcu
2023-04-04 16:39:41 +08:00
parent 206669e5f0
commit 47ab4dabbd
4 changed files with 182 additions and 21 deletions

View File

@ -17,7 +17,7 @@ Button {
}
return hovered ? hoverColor : normalColor
}
property color textColor: {
property color iconColor: {
if(FluTheme.dark){
if(disabled){
return Qt.rgba(130/255,130/255,130/255,1)
@ -57,7 +57,7 @@ Button {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.centerIn: parent
color:control.textColor
color:control.iconColor
text: (String.fromCharCode(iconSource).toString(16));
}
FluTooltip{