LabVIEW Idea Exchange

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

Case Re-Size

Status: Declined

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

case.PNG

 

Can the case selector be centred always irrespecive of the drag.  I feel the justification will give the block diagram uniformity.

8 Comments
RavensFan
Knight of NI

I would say only if this is an option you could turn off, and that it would be off by default.  For me, once the case structure is dropped, one of the first activities is to wire up the selector.  Only later as I add cases or place more code into some cases do I need to re-size the case structure.  At that point, I don't want the selector moving automatically because I don't want it to move the wires leading up to it.

 

I don't have a need for the case selector to always be in the middle.  I will place it towards the top, middle, or bottom depending on where the code is that becomes the source of the selector.  If I have a calculation or boolean comparison high in a loop, generally above the case structure, then I keep the selector high.  If the source is kind of low in the loop, then I keep the selector low on the structure.

AristosQueue (NI)
NI Employee (retired)
In fact, most VIs that use a case structure for error code clusters have the selection at the very bottom of the structure since errors typically chain across the bottom.
JackDunaway
Trusted Enthusiast

I actually agree with Ravens and Aristos. I Kudoed this idea out of principle (the principle that sometimes things get shifted around when resizing structures, such as my Quirky Labels post and smercurio's While Loop post), and not from carefully reading the post. If the case selector is doing funny things when the structure is resized, then Kudos, but after playing with it I don't think anything fishy is going on.

Message Edited by JackDunaway (mechelecengr) on 09-08-2009 12:59 PM
muks
Proven Zealot

Aristos,

 

I suggested it for ther mere uniformity it will generate. I am not particularly wanting the case selector to be at the centre but anywhere with the justified position will be just fine.

PhillipBrooks
Active Participant
Maybe the location could be 'sticky' like the location of the labels. When you move the connector close enough to the center, it would jump...

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

JackDunaway
Trusted Enthusiast

A lot of people (including myself) would sqwuak at this idea of a magnetic center. Check out the idea about getting rid of this idea for the corners.

muks
Proven Zealot
Hmmm opinion differs!!!
Darren
Proven Zealot
Status changed to: Declined

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