mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:54:25 +02:00
Menu polish on OSX
This commit is contained in:
parent
87ef98005d
commit
475c399d22
1 changed files with 4 additions and 4 deletions
|
@ -47,8 +47,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
implicitHeight: label.implicitHeight + 4
|
||||
implicitWidth: label.implicitWidth + label.height * 2
|
||||
implicitHeight: label.implicitHeight * 1.5
|
||||
implicitWidth: label.implicitWidth + label.height * 2.5
|
||||
|
||||
Timer {
|
||||
id: timer
|
||||
|
@ -60,13 +60,13 @@ Item {
|
|||
FontAwesome {
|
||||
clip: true
|
||||
id: check
|
||||
verticalAlignment: Text.AlignBottom
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
color: label.color
|
||||
text: checkText()
|
||||
size: label.height
|
||||
font.pixelSize: size - 4
|
||||
font.pixelSize: size
|
||||
function checkText() {
|
||||
if (!source || source.type != 1 || !source.checkable) {
|
||||
return ""
|
||||
|
|
Loading…
Reference in a new issue