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
At the moment, iced doesn't provide configurable text shaping (I think that's the term?). Iced does automatically split text when it there's no more space on the current line, but it's not configurable beyond that.
Ideal solutions would be to:
insert ellipses to indicate that a string has not fit into the space available
Shrink and grow (to a maximum) rows to account for longer strings. This would be quite hard, but I can think of maybe a way to do it
Somehow get the width of the cell
somehow get the width of the string to go into the cell
check if string_width > cell_width
add space for a new line
repeat to max
Points one and two are the hardest, as they involve rendering without rendering (maybe?) and potentially private methods.
The text was updated successfully, but these errors were encountered:
atlanticaccent
added
the
hard
This issue will likely need intimate knowledge of the project or its dependencies
label
Jun 12, 2021
I really don't know how to do this nicely.
At the moment, iced doesn't provide configurable text shaping (I think that's the term?). Iced does automatically split text when it there's no more space on the current line, but it's not configurable beyond that.
Ideal solutions would be to:
The text was updated successfully, but these errors were encountered: