mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
applets/taskmanager: wrap labels anywhere
Previously we were using Text.Wrap, which means "prefer word boundaries for wrapping, but wrap in the middle of a word if that's impossible". In Qt 6.12, dashes and em-dashes are now more aggressively considered to be word boundaries. There's nothing wrong per se about this change, but it doesn't work super well for the task manager where there's a lot of punctuation and space is very limited. So let's switch to Text.WrapAnywhere to maximize space efficiency. BUG: 526972 FIXED-IN: 6.8.2
This commit is contained in:
parent
689b35bad8
commit
b4c0de304f
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ PlasmaCore.ToolTipArea {
|
|||
bottomMargin: taskFrame.margins.bottom
|
||||
}
|
||||
|
||||
wrapMode: (maximumLineCount === 1) ? Text.NoWrap : Text.Wrap
|
||||
wrapMode: (maximumLineCount === 1) ? Text.NoWrap : Text.WrapAnywhere
|
||||
elide: Text.ElideRight
|
||||
textFormat: Text.PlainText
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
|
|
|||
Loading…
Reference in a new issue