mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-04 00:36:36 +00:00
Fix text wrapping with giant error messages
This commit is contained in:
parent
e88d2f0ab2
commit
c383cd39f4
@ -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…
x
Reference in New Issue
Block a user