LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make customized controls resize with pane

hi,

i had customized controls in my vi, and labels in it are not resizing with pane how to resize it with pane

0 Kudos
Message 1 of 11
(3,740 Views)
0 Kudos
Message 2 of 11
(3,728 Views)

this is not exactly i want, i want to know how to control the size of customized control programatically

0 Kudos
Message 3 of 11
(3,716 Views)

Hi Rizwan,

 

you control the size of your FP element as always: using property nodes of the FP element!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(3,688 Views)

hi,

   normal property node controll only size of the controll but not resize image of the controll.

0 Kudos
Message 5 of 11
(3,673 Views)

Hi Gokul,

 

normal property node controll only size of the controll but not resize image of the controll.

Yes, that's true. (Are there any "unnormal" property nodes? :D)

You didn't mention images/decals before…

 

Decals will not be resized with your control, it's by design. When you want to scale such images too, you need to use other techniques!

You could use 2DPictureIndicators and draw any image you like in them. Then you can scale them in any way you like them to scale…

 

Anyway: the OP asked how to change size of controls - now (s)he knows the answer…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(3,668 Views)

i want image inside control also to be resized

0 Kudos
Message 7 of 11
(3,655 Views)

Hi Rizwan,

 

then you need to use other methods as mentioned before.

 

When you have fixed scaling steps you could prepare several images and load them into a 2DPictureIndicator…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(3,651 Views)

Have a read through the comments here. It shows how you can make vector buttons that scale when resized.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 9 of 11
(3,645 Views)

hi

       can u send me VectorSystemButtons VI Labview8.2 support.

0 Kudos
Message 10 of 11
(3,608 Views)