mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
Handle no icon in modal dialogs
This commit is contained in:
parent
ba1e8db34a
commit
d893b2e3b1
1 changed files with 2 additions and 2 deletions
|
@ -47,12 +47,12 @@ Frame {
|
|||
}
|
||||
|
||||
Item {
|
||||
width: title.width + (window.iconText !== "" ? icon.width + hifi.dimensions.contentSpacing.x : 0)
|
||||
width: title.width + (icon.text !== "" ? icon.width + hifi.dimensions.contentSpacing.x : 0)
|
||||
x: (parent.width - width) / 2
|
||||
|
||||
FontAwesome {
|
||||
id: icon
|
||||
text: window.iconText
|
||||
text: window.iconText ? window.iconText : ""
|
||||
size: 30
|
||||
color: hifi.colors.lightGrayText
|
||||
visible: text != ""
|
||||
|
|
Loading…
Reference in a new issue