D6679: Treat Button/ToolButton labels as plaintext

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jul 13 13:10:24 UTC 2017


broulik added a comment.


  +1
  
  (for others reading this: Explicitly turning it into `StyledText` prevents Qt's `AutoText` from deciding to use `PlainText` in some cases which will then again look broken. Note that `StyledText` uses a basic string parser so it's nowhere near as heavy as `RichText` and should be fine)

INLINE COMMENTS

> ToolButtonStyle.qml:100
> +                text: Util.stylizeEscapedMnemonics(Util.toHtmlEscaped(control.text))
> +                textFormat: Text.styledText
>                  font: control.font || theme.defaultFont

`Text.StyledText`

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D6679

To: fvogt, #plasma, broulik
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170713/6a880cbb/attachment-0001.html>


More information about the Plasma-devel mailing list