TrayMenu, remove new lines from entries
This commit is contained in:
parent
ba39d02537
commit
f769443372
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ PopupWindow {
|
|||
Layout.fillWidth: true
|
||||
color: (modelData?.enabled
|
||||
?? true) ? (mouseArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface) : Color.mOnSurfaceVariant
|
||||
text: modelData?.text !== "" ? modelData?.text : "..."
|
||||
text: modelData?.text !== "" ? modelData?.text.replace(/[\n\r]+/g, ' ') : "..."
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
wrapMode: Text.WordWrap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue