Merge pull request #11298 from ElderOrb/case7382

7382 Create Menu does not Work on Tablet
This commit is contained in:
anshuman64 2017-09-06 14:09:41 -07:00 committed by GitHub
commit 94e1545e58

View file

@ -3,6 +3,8 @@ import QtGraphicalEffects 1.0
Item {
id: tabletButton
property string captionColorOverride: ""
property var uuid;
property string icon: "icons/tablet-icons/edit-i.svg"
property string hoverIcon: tabletButton.icon
@ -102,7 +104,7 @@ Item {
Text {
id: text
color: "#ffffff"
color: captionColorOverride !== "" ? captionColorOverride: "#ffffff"
text: tabletButton.text
font.bold: true
font.pixelSize: 18