When working with larger strings, we from time to time would like to have parts of it set in bold or italics.
As pychan already uses syntax like [br], a BBcode-like syntax might work (some [b]bold[/b] text). Every other approach will also work as long as it only depends on the widget text attribute (important for i18n).
Possibly requested features would also include changing font size for parts of the label, but this will cause a lot of layouting trouble I guess, so it's not critical right now.
Not sure whether this also belongs in here, but we'd have use cases where displaying an image ''in'' a Label would make sense (huge logbook pages are implemented as wrapping Labels, we use them to tell scenarios, so some images or icons would be cool).
A way to implement this would be creating sufficient amounts of newline whitespace in the actual Label and then place an Icon in that spot in another step.
When working with larger strings, we from time to time would like to have parts of it set in bold or italics.
As pychan already uses syntax like
[br], a BBcode-like syntax might work (some [b]bold[/b] text). Every other approach will also work as long as it only depends on the widget text attribute (important for i18n).Possibly requested features would also include changing font size for parts of the label, but this will cause a lot of layouting trouble I guess, so it's not critical right now.
Not sure whether this also belongs in here, but we'd have use cases where displaying an image ''in'' a Label would make sense (huge logbook pages are implemented as wrapping Labels, we use them to tell scenarios, so some images or icons would be cool).
A way to implement this would be creating sufficient amounts of newline whitespace in the actual Label and then place an Icon in that spot in another step.