08-24-2017 01:00 AM
Hello,
I'm trying to resize the objects of my front panel as the application window resolution is different from the developer screen resolution.
I have managed to do it for numeric indicators, strings, buttons and combo box. However I am not able to it for arrays and multi column list boxes. When I resize the multi column list box the number of elements are increasing. But, I want the number of cells to be the same and the size of each cell to increase along with the font size.
I am trying to do this programmatically by acquiring the screen resolution using property nodes.
08-24-2017 04:21 AM
Hope you are using SIZE Property to change the Object Dynamically in that case even the Cell size can also be changed proportional to Object and in case of MCL the Active Cell needs to be Changed dynamically to make sure all the cells are in same size
It will be good to share the piece of code you tried for better suggestion.
08-24-2017 05:40 AM
Getting the ratios
Multiplying the new ratio
Using the subVI
08-24-2017 05:44 AM
Pls do share code or code snippet not the image, nothing can be done with image other than viewing.
08-24-2017 06:14 AM
The codes are not clean as it is still in the development phase. Sorry for the inconvenience.