LabVIEW Idea Exchange

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

To space objects horizontaly and verticaly by value

Status: New

I would prefer to have a feature added to space objects horizontaly and verticaly by value. It would be very helpful for arranging objects in block diagram and front panel. br ws.

 

LabVIEW Exchange.png

6 Comments
Yamaeda
Proven Zealot

Good idea, the option should be called "D?".

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
altenbach
Knight of NI

I probably would not use that option much, because more important is the overall extend of the set of selected controls. I just place them in in order, making sure the top and bottom one are where they are supposed to be, then the button will arrange anything in-between for equal spacing. Equal bottom spacing is typically only appropriate if all controls are of the same height anyway.

 

I mostly use the no-gap spacing all the way on the right. 🙂

 

So how should that idea be implemented? We probalby would need a "Set spacing..." dialog box (similar to the current "Set width and height..." sizing tool). It would allow us to interactively set the horizontal and vertical spacing of the selected objects.

Manzolli
Active Participant

Another approach is that you may like a standard gap between the controls/indicators because they are visually nice. The adjust of the overall size can be made changing the size of one or more elements.

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Yamaeda
Proven Zealot

@Altenbach Yes, a simple dialog box asking for the spacing would be needed. 1 value is all that's needed. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
altenbach
Knight of NI

> @Altenbach Yes, a simple dialog box asking for the spacing would be needed. 1 value is all that's needed

 

No, I think it would need to be more than that.. We need numeric controls for the horizontal and vertical spacing, rings for the spacing mode (bottom spacing, equal spacing, ...). and maybe controls for the total extend for equal distribution spacing, etc.

 

It could even include the alignments such that we can e.g. equally space vertically and align the left edges in the same dialog.

Yamaeda
Proven Zealot

 That is not at all how i understood the suggestion and its function. As we have Compact and Even distribute now in X and Y-direction as separate options, this would be "X pixels separation" (like the cleanup tool works). 

Your idea would be an advanced and intersting idea of its own. 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer