Merge pull request #14834 from gcalero/connection_failure_dialog

Case 20936: Set message dialog text width so wrap mode takes effect
This commit is contained in:
John Conklin II 2019-02-15 14:16:02 -08:00 committed by GitHub
commit 09d8221582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ ModalWindow {
QtObject {
id: d
readonly property int minWidth: 480
readonly property int minWidth: 1100
readonly property int maxWidth: 1280
readonly property int minHeight: 120
readonly property int maxHeight: 720
@ -95,6 +95,7 @@ ModalWindow {
id: mainTextContainer
onTextChanged: d.resize();
wrapMode: Text.WordWrap
width: messageBox.width
size: hifi.fontSizes.menuItem
color: hifi.colors.baseGrayHighlight
anchors {