Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any plan for allowing multiline lines per node name? #19

Open
joseberlines opened this issue Jan 26, 2020 · 2 comments
Open

Is there any plan for allowing multiline lines per node name? #19

joseberlines opened this issue Jan 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@joseberlines
Copy link

Dear coders,
I am not entirely sure if this is place to post a question/petition.

When given the name to the nodes all works nicely according to the examples given.
The names "node1", "node2" are very short.
If the names are given a very long name (a paragraph of a text) the line will get out of the screen and it will not be possible to see it completely.

Is there any plan to include a parameter for displaying width=X where x is a number of characteres and hence the display with node names with more than X characters will be displayed in multiline (wrap text modus).

Thanks.

I already publish a Q in StackOverflow:
https://stackoverflow.com/questions/59900288/jupyter-notebook-ipytree-multiline-node

@joseberlines joseberlines changed the title Is there any plan for allowing multiline names per node? Is there any plan for allowing multiline lines per node name? Jan 26, 2020
@martinRenou
Copy link
Collaborator

Hi and thanks for opening an issue.

Maybe we could achieve this in CSS, like it is said here vakata/jstree#270

@martinRenou martinRenou added the enhancement New feature or request label Jan 27, 2020
@joseberlines
Copy link
Author

Hi, so cool to make this an enhancement.
I guess we are all use to see this tree structures as folders (i.e. short names).
Reality is that this tree structure is also applicable in law texts, where there is a dependency of paragraphs along a text document.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants