mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:53:01 +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
|
implicitHeight: label.implicitHeight * 1.5
|
||||||
implicitWidth: label.implicitWidth + label.height * 2
|
implicitWidth: label.implicitWidth + label.height * 2.5
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: timer
|
id: timer
|
||||||
|
@ -60,13 +60,13 @@ Item {
|
||||||
FontAwesome {
|
FontAwesome {
|
||||||
clip: true
|
clip: true
|
||||||
id: check
|
id: check
|
||||||
verticalAlignment: Text.AlignBottom
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
color: label.color
|
color: label.color
|
||||||
text: checkText()
|
text: checkText()
|
||||||
size: label.height
|
size: label.height
|
||||||
font.pixelSize: size - 4
|
font.pixelSize: size
|
||||||
function checkText() {
|
function checkText() {
|
||||||
if (!source || source.type != 1 || !source.checkable) {
|
if (!source || source.type != 1 || !source.checkable) {
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Reference in a new issue