06-03-2019 11:53 PM
Okay, now this is the last issue I have hopefully.
The status bar is all set for displaying the necessary information. However the panes are very small and are unable to display full information. The screenshot is attached.
I know we have statusbarpane properties like 'Width', 'UseAvailableSpace' etc but I cannot find example anywhere to use it. Not even in TestStand Example folder. I tried different possible ways to somehow use these properties but in vain. An example code snippet to do this would be great or is there any other way to expand these panes so that they display full information?
Thanks!
06-04-2019 02:16 AM
There is no snippet required.
The width you assign to each pane in the status bar property dialog is in pixels. I recommend to design for a minimum total width like 1024 (minus border which should be <10 pixel for both sides together).
That being said, you should assign a minimum width for each pane to display the whole information except that is too long (e.g. very long model name). You can use "UseAvailableSpace" for panes you want to be as wide as possible to fill the total width of the UI (depending on your screen resolution). I've not tested this but i assume that if you have multiple panes configure for UseAvailableSpace, the space left from static pane widths is equally divided between those flexible panes.
For date and time a width of ~200 should be sufficient.
06-04-2019 05:02 AM
Thanks a lot!
Working now with property 'Width' set to 200.