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
I was actually thinking of taking a stab at writing a bubbles for the tree, so I'm thinking maybe I can write a draft to figure out if anything else needs to be exposed before implementing Offset, wdyt?
Is your feature request related to a problem? Please describe.
I would like to limit the width of a node's text so it's always one line.
Describe the solution you'd like
Expose an offset attribute so I know what level a node is in (its depth).
I will then use it like so:
Describe alternatives you've considered
MaxHeight(1)
insideItemStyleFunc
is not enough since the text overflows to the next line.MaxWidth()
insideItemStyleFunc
works but I can't know what width to put it since I don't know the offset and therefor how much room I have.Additional context
Using
MaxWidth
of 10 gives me this which only "works" for some of the nodes.The text was updated successfully, but these errors were encountered: