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

Create hidden text in nodes with long text. A good and practical idea. #1795

Open
ajaberi1360 opened this issue Apr 21, 2024 · 3 comments
Open

Comments

@ajaberi1360
Copy link

ajaberi1360 commented Apr 21, 2024

Hello.
I propose a good idea.
Sometimes the text we write inside a node is a long text.
Fortunately, the maximum width of the node can be set horizontally.
See the figure below.

image

The only problem is that it lengthens the node vertically and there is no adjustment for this.
One way is to transfer the text of the node in the "Note" section and write a title for that long text in the node.

But maybe some users don't want to use "Note".
There is another very good solution. pay attention:

I suggest: create an option in the node style editing section: (maximum vertical length)
which has two modes:

1- The vertical length can be adjusted by any desired number.
Yes, it is true that some of the long text remains hidden. But this is a very good thing. Because it can be set that some of the text that is displayed is the title for the long text and the hidden text is the main body.
Whenever the node is selected, all the text will be automatically displayed, and when the node is disabled, only the amount of text that is set with the option (maximum vertical length) will be displayed.

We can also create a style for the specific setting we are doing.

2- The mode in which the number is not set will work as before and the node will be created with a long height.

If the above idea is implemented, to a large extent, we will not need to write long texts in the "note" section.

Another suggestion is that when a node has hidden text, an icon and a symbol will be displayed on that node, which shows that the node has hidden text.

How attractive. Managing the length and width of all nodes and having long texts at the same time.

@ajaberi1360 ajaberi1360 changed the title Create hidden text in node for nodes with long text. Create hidden text in nodes with long text. Feature request Apr 21, 2024
@ajaberi1360 ajaberi1360 changed the title Create hidden text in nodes with long text. Feature request Create hidden text in nodes with long text. A good idea. Apr 21, 2024
@ajaberi1360 ajaberi1360 changed the title Create hidden text in nodes with long text. A good idea. Create hidden text in nodes with long text. A good and practical idea. Apr 21, 2024
@euu2021
Copy link
Contributor

euu2021 commented Apr 22, 2024

Yes, in my daily use of FP, limiting the size of nodes vertically is essential, as I explained at #401 (comment).

It can be done with scripts, although it's not perfect, yet. See the discussion #1293 and linked threads.

@ajaberi1360
Copy link
Author

Yes, it is true that it is possible to hide long texts even in Freeplane software.
This approach has a weakness that I will explain in due course.

@ajaberi1360
Copy link
Author

ajaberi1360 commented Apr 23, 2024

By clicking on the node icon that has hidden text. Hidden text is not displayed.

See the video below.

https://github.com/freeplane/freeplane/assets/38586259/eb7b0bfa-736c-4fb2-98d6-0f3362a70eb6
"View->Minimize Nodes" either puts the node in hidden text mode or takes it out of it.
It is suggested to make it possible in the software to display the hidden text by clicking on the triangle icon and to hide the text by clicking on the icon again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants