feat(StatusSwitchTabButton): Added property `pixelSize`
This commit is contained in:
parent
a8b9020a4b
commit
29a61c7f5c
|
@ -8,6 +8,8 @@ import StatusQ.Core.Theme 0.1
|
|||
TabButton {
|
||||
id: statusSwitchTabButton
|
||||
|
||||
property int fontPixelSize: 15
|
||||
|
||||
contentItem: Item {
|
||||
height: 36
|
||||
MouseArea {
|
||||
|
@ -26,7 +28,7 @@ TabButton {
|
|||
Theme.palette.statusSwitchTab.selectedTextColor :
|
||||
Theme.palette.statusSwitchTab.textColor
|
||||
font.weight: Font.Medium
|
||||
font.pixelSize: 15
|
||||
font.pixelSize: statusSwitchTabButton.fontPixelSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue