mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:13:47 +02:00
7382 Create Menu does not Work on Tablet
This commit is contained in:
parent
98b1fe6138
commit
b5faa8ac56
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: tabletButton
|
id: tabletButton
|
||||||
|
|
||||||
|
property string captionColorOverride: ""
|
||||||
property var uuid;
|
property var uuid;
|
||||||
property string icon: "icons/tablet-icons/edit-i.svg"
|
property string icon: "icons/tablet-icons/edit-i.svg"
|
||||||
property string hoverIcon: tabletButton.icon
|
property string hoverIcon: tabletButton.icon
|
||||||
|
@ -102,7 +104,7 @@ Item {
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: text
|
id: text
|
||||||
color: "#ffffff"
|
color: captionColorOverride !== "" ? captionColorOverride: "#ffffff"
|
||||||
text: tabletButton.text
|
text: tabletButton.text
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
|
|
Loading…
Reference in a new issue