LabVIEW Idea Exchange

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

Expand Frame Only After Name Validation

Status: New

Something that bugs me is when I right click on a terminal to create a Indicator, for instance, and the frames around it expands to fit the new Indicator and it's label default. This is much worse in complex diagrams with many nested frames.

I propose that the frame expansion should be done only after the text validation in order to increase the minimum necessary, as shown below:

 

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
6 Comments
altenbach
Knight of NI
How about if the resizing algorithm would just ignore labels completely?
Manzolli
Active Participant

It's nice having the automatic enlargement, but should be just enough. As an option, I agree with you.

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Knight of NI

But what if you just want to chop off the " (Not a Path if cancelled)" part and have the label say "new file path"? With the sequence frame small like that when the indicator is created and the text is selected, you'd only see "new fi". What is "just enough"?

elset191
Active Participant

You could show the whole text field without blowing up the structure yet.

test.PNG

--
Tim Elsey
Certified LabVIEW Architect
Manzolli
Active Participant

It should stretch to fit the validated text (default, edited, cut, added, etc.), in your case just enough to fit "new file path". I other words, the chosen text.

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Knight of NI

@Manzolli wrote:
It should stretch to fit the validated text (default, edited, cut, added, etc.), in your case just enough to fit "new file path". I other words, the chosen text.

But I haven't chosen the "validated text" yet. All that's happened is I created an indicator, and the text box is now mostly hidden because the sequence frame isn't big enough. If I try to use the cursor keys to move right I will reach a point where I can no longer see the caret.

 


@elset191 wrote:

You could show the whole text field without blowing up the structure yet.

test.PNG


That might work.