mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
update
This commit is contained in:
parent
3460b59839
commit
139c5c455d
@ -6,6 +6,7 @@ import FluentUI 1.0
|
|||||||
Button {
|
Button {
|
||||||
display: Button.IconOnly
|
display: Button.IconOnly
|
||||||
property int iconSize: 20
|
property int iconSize: 20
|
||||||
|
property int textSize: 12
|
||||||
property int iconSource
|
property int iconSource
|
||||||
property bool disabled: false
|
property bool disabled: false
|
||||||
property int radius:4
|
property int radius:4
|
||||||
@ -82,6 +83,7 @@ Button {
|
|||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
|
font.pixelSize: control.textSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -98,6 +100,7 @@ Button {
|
|||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
|
font.pixelSize: control.textSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@ import FluentUI
|
|||||||
Button {
|
Button {
|
||||||
display: Button.IconOnly
|
display: Button.IconOnly
|
||||||
property int iconSize: 20
|
property int iconSize: 20
|
||||||
|
property int textSize: 12
|
||||||
property int iconSource
|
property int iconSource
|
||||||
property bool disabled: false
|
property bool disabled: false
|
||||||
property int radius:4
|
property int radius:4
|
||||||
@ -83,6 +84,7 @@ Button {
|
|||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
|
font.pixelSize: control.textSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,6 +101,7 @@ Button {
|
|||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
visible: display !== Button.IconOnly
|
visible: display !== Button.IconOnly
|
||||||
color: control.textColor
|
color: control.textColor
|
||||||
|
font.pixelSize: control.textSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user