NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand Operator Interface and C++ MFC interface

Solved!
Go to solution

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!

 

0 Kudos
Message 11 of 13
(529 Views)

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.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 12 of 13
(520 Views)

Thanks a lot!

Working now with property 'Width' set to 200.

0 Kudos
Message 13 of 13
(517 Views)