mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 21:02:28 +00:00
Fix text wrapping with giant error messages
This commit is contained in:
parent
e88d2f0ab2
commit
c383cd39f4
1 changed files with 3 additions and 1 deletions
|
@ -35,11 +35,13 @@ NavigableDialog {
|
||||||
|
|
||||||
id: dialogLabel
|
id: dialogLabel
|
||||||
text: dialogText + ((helpText && (standardButtons & Dialog.Help)) ? (helpTextSeparator + helpText) : "")
|
text: dialogText + ((helpText && (standardButtons & Dialog.Help)) ? (helpTextSeparator + helpText) : "")
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.Wrap
|
||||||
|
elide: Label.ElideRight
|
||||||
|
|
||||||
// Cap the width so the dialog doesn't grow horizontally forever. This
|
// Cap the width so the dialog doesn't grow horizontally forever. This
|
||||||
// will cause word wrap to kick in.
|
// will cause word wrap to kick in.
|
||||||
Layout.maximumWidth: 400
|
Layout.maximumWidth: 400
|
||||||
|
Layout.maximumHeight: 400
|
||||||
|
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
accept()
|
accept()
|
||||||
|
|
Loading…
Reference in a new issue