mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 19:34:02 +02:00
Fix MS16802: In Purchases, there shouldn't be a glyph associated with the Open button
This commit is contained in:
parent
07a7bbbcf6
commit
ef4265de4b
1 changed files with 2 additions and 2 deletions
|
@ -731,7 +731,7 @@ Item {
|
|||
}
|
||||
HiFiGlyphs {
|
||||
id: rezIcon;
|
||||
text: (root.buttonGlyph)[itemTypesArray.indexOf(root.itemType)];
|
||||
text: root.isInstalled ? "" : (root.buttonGlyph)[itemTypesArray.indexOf(root.itemType)];
|
||||
anchors.right: rezIconLabel.left;
|
||||
anchors.rightMargin: 2;
|
||||
anchors.verticalCenter: parent.verticalCenter;
|
||||
|
@ -750,7 +750,7 @@ Item {
|
|||
text: root.isInstalled ? "OPEN" : (MyAvatar.skeletonModelURL === root.itemHref ? "CURRENT" : (root.buttonTextNormal)[itemTypesArray.indexOf(root.itemType)]);
|
||||
anchors.verticalCenter: parent.verticalCenter;
|
||||
width: rezIconLabelTextMetrics.width;
|
||||
x: parent.width/2 - rezIconLabelTextMetrics.width/2 + rezIconTextMetrics.width/2;
|
||||
x: parent.width/2 - rezIconLabelTextMetrics.width/2 + (rezIcon.text === "" ? 0 : rezIconTextMetrics.width/2);
|
||||
size: 15;
|
||||
font.capitalization: Font.AllUppercase;
|
||||
verticalAlignment: Text.AlignVCenter;
|
||||
|
|
Loading…
Reference in a new issue