LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows XP/7 UI Problem

I created a VI with a 15x15 pixel System Button in Windows XP, when I transferred my VI to Windows 7 the button is resized to 21x27 pixels.  I also created a VI with a 15x15 pixel System Button in Windows 7, when the VI is opened in Windows XP, the button is resized to 19x25 pixels.

 

Maintain proportions of windows for different monitor resolutions and Scale all objects on front panel as the window resizes are unchecked.

 

 

Has anybody ran into anything similar or know why this happens?

 

Ryan

0 Kudos
Message 1 of 3
(2,753 Views)
I'm not sure why going in either direction would have enlarged the button.  But it comes down to the fact it is a system button.  It uses a system font which is different on XP, vs. Vista, vs. Win7.  See this thread.
Message 2 of 3
(2,719 Views)
I looked into this a little more, and realized if "Lock Text in Center" is checked, the button will resize to the text, even if "Show Boolean text" is unchecked.  Once you uncheck "Lock text in center" the button stays the same size when switching OS.
0 Kudos
Message 3 of 3
(2,695 Views)