LabVIEW Idea Exchange

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

Scale Multiple Objects on Front Panel Without Scaling All Objects

Status: New

Currently LabVIEW has the ability to scale almost any object with the pane (e.g. when the front panel is maximized the object is scaled accordingly with the FP).

21868i25A6FB9295CB8CCF

However once we add a second object that option goes away:

21870i4B47BAAAADB313BC

Now you may be thinking that there is a limitation that LabVIEW can only scale one object however there is an option in VI properties to "Scale all objects on the Front Panel."  If LabVIEW can scale one object and it can scale one object and it can scale all objects why can't it scale any number in between.  There are numerous situations I can think of where developers would want to have control over which objects scale and which do not.

21872i07D96826454FBAE6

As a workaround to this you can either group the objects you would like to scale or you can choose "Scale all Objects" and lock the ones you do not want to scale but these are both just that, workarounds.

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
5 Comments
ASInc
Member

WANT.  I never understood this one or all, not two-(all-1) restriction.  I ended up accomplishing this in my program by using splitters to effectively multi-pane my main window, and stretching things to fit their pane, then controlling how the panes are bound to the window.  The end result is rather elegant looking, but it could be simpler this way.

OwlMan
Member

I absolutely agree 1000%!

OwlMan
Member

I found this on the forums. Look at the reply by ronbronw.

http://forums.ni.com/t5/LabVIEW/Scale-object-with-panel-programmatically/m-p/837021#M380016

GollumGTH
Member

Can someone expand on how you can group objects to achieve this?  I never realized you couldn't fit more than one object until it came up today...

GollumGTH
Member