You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I think that could be a useful feature. But it is only possible for the whole text of a widget.
The design of Fifechan requires the use of containers to implement something like this. The same applies for font colors, sizes and particularly icons and images. A Label is only a simple widget that can hold and render a string.
Besides from that, it is than only possible for TTF and not for Image Fonts. It does not bother me but it should be an known issue.
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.
The text was updated successfully, but these errors were encountered: