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
We should probably discuss on how we want the system to behave as a whole, but the button should be able to just resize the the tree to fit the current screen size.
I guess ideally the system should behave like this:
when you load a tree, the tree fits the screen by default.
If you collapse a node, the tree keeps with the fit to screen on.
if you zoom in or out, the fit to screen unlocks but now as the size of the screen changes, it changes the size of the tree proportionally so the part of the tree that is displayed stays the same.
if you collapse a node in this case, the tree reajusts the spacing to keep the distances between leaves as it was before.
the whole thing is resized to fit to screen at any moment if the user press the button again.
The fit to screen button now has functionality the way I was envisioning it to...not quite sure I understand how you would ideally like collapsing to work. We will discuss this when we meet, but for now I'll move it to "Needs Review".
This is just the code that can do that... must be applied into the button requested by other issue #22
The text was updated successfully, but these errors were encountered: