mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
update
This commit is contained in:
parent
bdbd5d295e
commit
3460b59839
@ -37,6 +37,7 @@ Button {
|
|||||||
return Qt.rgba(0,0,0,1)
|
return Qt.rgba(0,0,0,1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
property color textColor: FluTheme.fontPrimaryColor
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: control.text
|
Accessible.name: control.text
|
||||||
Accessible.description: contentDescription
|
Accessible.description: contentDescription
|
||||||
@ -80,6 +81,7 @@ Button {
|
|||||||
text:control.text
|
text:control.text
|
||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
|
color: control.textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -95,10 +97,11 @@ Button {
|
|||||||
text:control.text
|
text:control.text
|
||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
|
color: control.textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
contentItem:Loader{
|
contentItem:FluLoader{
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(display === Button.TextUnderIcon){
|
if(display === Button.TextUnderIcon){
|
||||||
return com_column
|
return com_column
|
||||||
|
@ -38,6 +38,7 @@ Button {
|
|||||||
return Qt.rgba(0,0,0,1)
|
return Qt.rgba(0,0,0,1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
property color textColor: FluTheme.fontPrimaryColor
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: control.text
|
Accessible.name: control.text
|
||||||
Accessible.description: contentDescription
|
Accessible.description: contentDescription
|
||||||
@ -81,6 +82,7 @@ Button {
|
|||||||
text:control.text
|
text:control.text
|
||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
|
color: control.textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -96,6 +98,7 @@ Button {
|
|||||||
text:control.text
|
text:control.text
|
||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
|
color: control.textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user