LabVIEW Idea Exchange

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

Size Vertically To Text

Status: New

As you all know, LV offers a Size To Text menu entry which resizes a text frame to its contained text.

 

While documenting my code (free text on diagram), I would often use a Size Vertically To Text function. This new menu entry should behave like the Size to Text Method (for string controls on the front panel) --> resize the text frame vertically to show all text without resizing it horizontally.

 

Size to Text.jpg

4 Comments
JB
Trusted Enthusiast
Trusted Enthusiast

It might be useful to mention that I don't insert line feeds when typing these comments because this makes it much easier to (re)adjust them to the available/desired (and probably changing) space on the diagram.

 

  1. Manually resize the text frame width to get a nice looking arrangement of the words.
  2. Use this new menu entry to let LV fit the height of the text frame to the number of lines (--> faster and more accurate than by hand).

 

Because it resizes the text to one line, Size To Text would impose you to restart at point 1 !

fabric
Active Participant
Some applications (e.g. Adobe Indesign) let you achieve this by simply double-clicking on the "drag dot" on the bottom edge... It initiates a size to fit, but only in that one dimension. Would that work for you?
JB
Trusted Enthusiast
Trusted Enthusiast

 

Yes, this would be a very pleasant solution.

 

 

 

fabric
Active Participant

Great - I'm giving kudos for the idea, although I don't think it warrants a new menu option