mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
139c5c455d
commit
661529f1f4
@ -6,7 +6,6 @@ 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
|
||||||
@ -49,6 +48,7 @@ Button {
|
|||||||
verticalPadding: 8
|
verticalPadding: 8
|
||||||
horizontalPadding: 8
|
horizontalPadding: 8
|
||||||
enabled: !disabled
|
enabled: !disabled
|
||||||
|
font:FluTextStyle.Caption
|
||||||
background: Rectangle{
|
background: Rectangle{
|
||||||
implicitWidth: 30
|
implicitWidth: 30
|
||||||
implicitHeight: 30
|
implicitHeight: 30
|
||||||
@ -83,7 +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
|
font: control.font
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -100,7 +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
|
font: control.font
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,6 @@ 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
|
||||||
@ -50,6 +49,7 @@ Button {
|
|||||||
verticalPadding: 8
|
verticalPadding: 8
|
||||||
horizontalPadding: 8
|
horizontalPadding: 8
|
||||||
enabled: !disabled
|
enabled: !disabled
|
||||||
|
font:FluTextStyle.Caption
|
||||||
background: Rectangle{
|
background: Rectangle{
|
||||||
implicitWidth: 30
|
implicitWidth: 30
|
||||||
implicitHeight: 30
|
implicitHeight: 30
|
||||||
@ -84,7 +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
|
font: control.font
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -101,7 +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
|
font: control.font
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user