mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
update
This commit is contained in:
parent
139c5c455d
commit
661529f1f4
@ -6,7 +6,6 @@ import FluentUI 1.0
|
||||
Button {
|
||||
display: Button.IconOnly
|
||||
property int iconSize: 20
|
||||
property int textSize: 12
|
||||
property int iconSource
|
||||
property bool disabled: false
|
||||
property int radius:4
|
||||
@ -49,6 +48,7 @@ Button {
|
||||
verticalPadding: 8
|
||||
horizontalPadding: 8
|
||||
enabled: !disabled
|
||||
font:FluTextStyle.Caption
|
||||
background: Rectangle{
|
||||
implicitWidth: 30
|
||||
implicitHeight: 30
|
||||
@ -83,7 +83,7 @@ Button {
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||
visible: display !== Button.IconOnly
|
||||
color: control.textColor
|
||||
font.pixelSize: control.textSize
|
||||
font: control.font
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -100,7 +100,7 @@ Button {
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||
visible: display !== Button.IconOnly
|
||||
color: control.textColor
|
||||
font.pixelSize: control.textSize
|
||||
font: control.font
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ import FluentUI
|
||||
Button {
|
||||
display: Button.IconOnly
|
||||
property int iconSize: 20
|
||||
property int textSize: 12
|
||||
property int iconSource
|
||||
property bool disabled: false
|
||||
property int radius:4
|
||||
@ -50,6 +49,7 @@ Button {
|
||||
verticalPadding: 8
|
||||
horizontalPadding: 8
|
||||
enabled: !disabled
|
||||
font:FluTextStyle.Caption
|
||||
background: Rectangle{
|
||||
implicitWidth: 30
|
||||
implicitHeight: 30
|
||||
@ -84,7 +84,7 @@ Button {
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||
visible: display !== Button.IconOnly
|
||||
color: control.textColor
|
||||
font.pixelSize: control.textSize
|
||||
font: control.font
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -101,7 +101,7 @@ Button {
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||
visible: display !== Button.IconOnly
|
||||
color: control.textColor
|
||||
font.pixelSize: control.textSize
|
||||
font: control.font
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user