Commit Graph
6 Commits
Author SHA1 Message Date
Unknown W. Brackets 08a6047768 PPGe: Show ellipsis for overly long lines.
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Silent 6639a550f1 Improve WordWrapper:
- When wrapping before word, left trim whitespaces to prevent newlines from starting indented
- Change lastLineStart_ to size_t to cut down on nasty typecasts
- Replace operator += with explicit call to append to make intent more clear and reduce memory allocations
2019-05-30 19:24:31 +02:00
Unknown W. Brackets 4ad7107151 UI: Wrap text properly with explicit newlines.
Fixes the non-Android part of #10217.
2017-12-02 14:38:59 -08:00
Unknown W. Brackets 977f75ce1e UI: Fix text wrap when kerning adjusts spaces.
This was happening for some setting info messages.  The sum of the word
lengths didn't actually match the line length, because more space was
added between some words.
2017-06-03 10:14:55 -07:00
Henrik Rydgård ae709ed1dd Fix bug in word wrapper 2016-12-25 11:08:27 +01:00
Unknown W. Brackets 30e99206c9 UI: Add a generic word wrapper class. 2016-07-04 16:03:22 -07:00