LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to adjust the size of that round thing in a numeric gauge control

Hello,
 
When changing the size of a numeric gauge control, that round thing in the middle (I don't know what else to call it Smiley Wink ) is not adjusted to the new size (check the picture attachted to this post if you don't know what I'm talking about). Is there any undocumented attribute that I can change, like the one to change the arrow size of a numeric control? I would like to make it a little bit smaller...
 
 
0 Kudos
Message 1 of 7
(4,457 Views)
Unfortunately, not. Not for this part. It's always a constant diameter.
 
Luis
Message 2 of 7
(4,433 Views)
Not the answer I was hoping for, but now I know Smiley Wink Thanks a lot for your quick reply.
0 Kudos
Message 3 of 7
(4,413 Views)

So how about designing the whole panel 25% bigger than you want it to be, then apply a global panel resize of 80% at run time, to end up with the size you really want. With the panel set to "Scale Contents On Resize" this might result in drawing the gauges with a smaller centre! Smiley Tongue

Shame it would probably mess up the fonts. Probably lose detail, too. (Or maybe draw just the gauges on a small child panel, which is resized?)

JR

Message 4 of 7
(4,395 Views)

Hi JR,

that is indeed a creative solution you've got there. Smiley Very Happy But I'm afraid I don't have any time to implement this now (some milestones coming up). I'll let you know if I'm ready for this.

0 Kudos
Message 5 of 7
(4,392 Views)

Nice try, JR, but unfortunately that wouldn't have worked either. Even the "Scale Contents on Resize" feature would have left the center of the gauge at the same size. (Sorry, Wim...)

(Wow, why would anyone have been taken aback by Wim's reply... one star seems pretty harsh!)

Luis

0 Kudos
Message 6 of 7
(4,384 Views)
Hello everyone,
 
the answer to my question actually is: there's an undocumented attribute that does the trick! Take a look at message 5 of this thread
0 Kudos
Message 7 of 7
(4,127 Views)