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
about (1) and (2) - I will work around that - get the positions based on grapheme clusters (using TextInput as inspiration), and then just draw a line so it approximates an underline for a single character. It may not look perfect and break apart with with some fonts or non-latin scripts, but it will be "good enough" for now.
about (3) - as far as I understood, the info if a widget is hovered is needed to display tooltips correctly - otherwise all tooltips would follow the mouse constantly. It may turn out that no such feature is needed, instead box the label (and related widget) into another container that has a "hovered" state
I think not only for labels, but text overflow as a whole should be configurable. Currently, text seems to only wrap on white-spaces, so an overflow configuration could have 5 options:
TextOverflow::WrapWords (default, wrap at whitespace)
TextOverflow::WrapChars (wrap at char that would overflow, may break a word)
TextOverflow::Clip (Clip text)
TextOverflow::Ellipsis (Clip text and add ellipsis to it "...")
TextOverflow::Allow (Allow for text to overflow, maintaining the text as it is)
Hi there,
I would like to have a label widget with some extra features:
Context: I plan to create an application that has to be fully controllable using the keyboard. I will start to create that widget myself.
The text was updated successfully, but these errors were encountered: