mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
shrink message dialog to contentWidth
This commit is contained in:
parent
188712a55b
commit
890266e0bd
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ ModalWindow {
|
|||
readonly property int maxHeight: 720
|
||||
|
||||
function resize() {
|
||||
var targetWidth = mainTextContainer.width
|
||||
var targetWidth = mainTextContainer.contentWidth
|
||||
var targetHeight = mainTextContainer.height + 3 * hifi.dimensions.contentSpacing.y
|
||||
+ (informativeTextContainer.text != "" ? informativeTextContainer.contentHeight + 3 * hifi.dimensions.contentSpacing.y : 0)
|
||||
+ buttons.height
|
||||
|
|
Loading…
Reference in a new issue