LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Alexander_Sobolev

Resize free text before typing

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.

PROBLEM: When I start typing after double click the text changes MY BLOCK DIAGRAM! It hides elements, moves structures =(, but there is often a lot of space, that is intended for this comment

 

IDEA: 

Resize the text, when double click, that inserted it, has not finished yet!

The text is inserted after the second Mouse _down_. Text behavior is Size to text. If the mouse button is released, the user can type a long line.

 

Proposed:

1) If user moves mouse with button pressed, the text resizes accordingly and stops resizing after mouse up.- Double click+move finished, text area has focus and ready for typing.

Or 2) Allow resize of the text area before (or while) typing in it - make sure the text doe not loose focus.

 

A few facts:

1) You should use free text to comment the block diagram.

2) Some LabVIEW users are not satisfied with its default size behavior:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Size-Vertically-To-Text/idi-p/1530678

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Size-to-Text-Needs-to-Support-Multiple-Lines/idi-p/186...

 

Above ideas do not handle my PROBLEM:

 

Here are some ways to handle the problem with drawbacks:

1) Type one word. Resize comment (Autoremove Size to text). Back to typing --- Too many actions

2) Set text width by starting new lines. --- Will be hard to change width later

3) Scroll away. Type. Resize. Move to where it is needed. --- Brrr

4) My idea - modify LabVIEW 😃

 

Alexander

 

5 Comments
tst
Knight of NI Knight of NI
Knight of NI

Ignore.


___________________
Try to take over the world!
Alexander_Sobolev
Active Participant

"Ignore"

Any explanation? I encountered this problem often enough to highlight it here.

tst
Knight of NI Knight of NI
Knight of NI

I meant to ignore my comment. I posted that you can already do that to a degree by pressing Shift+Enter, but then I checked and saw that it didn't work, but didn't have time to check why, so I just deleted my comment.

 

Now that I had time to look, I realize what my mistake was - I confused string constants with comments. I thought that comments supported this and string constants didn't, but it's the other way around. Your idea isn't exactly a copy of this other idea, but I think it will cover your needs:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Shift-Enter-should-define-word-wrap-bounds-on-Free-Lab...


___________________
Try to take over the world!
littlesphaeroid
Active Participant

This has long been one of the most annying problems in commenting LabView code. My proposal would be to allow the user to draw a text field of the desired size before typing. So, with the text tool selected, you can click and begin to type (this is the defualt behavior), or you can click and draw out a rectangle of the desired size, and then begin typing (drawn text area retains focus after rectangle is drawn.

 

As an example of how annying the current situation is, if you type a long comment in the normal fashion, if can end up extending into an area beyond it's the function it is enclosed within. At this point it is impossible to grab the lower-right corner to resize. The only option is to type, switch tools, resize, and type some more.

 

text field problem.png

_____________
Creator of the BundleMagic plugin for LabVIEW!
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.