Front Panel Boolean Button Size Change When Run As Executable

Updated Apr 5, 2021

Reported In

Software

  • LabVIEW

Issue Details

The button on my front panel set to 15x15 in the properties. After build to executables (.exe), the size of the button changed. The size is maintain when run as vi.
Button size change.PNG

Solution

This is caused by the text inside boolean button. The button size will resize according to the text inside the boolean button even when you already uncheck Show Boolean Text.
 
In order to prevent resizing happening, empty the On text box and Off text box, uncheck Lock text in center and Show Boolean text before building executable as below.
 
Button size change - 2.PNG