LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu Bar Size not the same as Windows

Hello,

Hi, I am trying to set the menu bar size of LabVIEW and LabVIEW built applications. It does not seem to be following what I set in Windows Display Properties. It seems to be set at a constant 19 point. I looked in the LabVIEW.ini for maybe a setting there but could not find one. Does anyone know how to set the Real Time Menu size. I have attached a picture to better explain my problem. The highlighted box shows the difference in menu size. One window is from my Microsoft Outlook, the other is from LabVIEW.

Thank You,
Glen Deslauriers
0 Kudos
Message 1 of 4
(3,186 Views)
AstroMed Glen wrote:

> Hello,
>
> Hi, I am trying to set the menu bar size of LabVIEW and LabVIEW
> built applications. It does not seem to be following what I set in
> Windows Display Properties. It seems to be set at a constant 19 point.
> I looked in the LabVIEW.ini for maybe a setting there but could not
> find one. Does anyone know how to set the Real Time Menu size. I have
> attached a picture to better explain my problem. The highlighted box
> shows the difference in menu size. One window is from my Microsoft
> Outlook, the other is from LabVIEW.

1) Outlook uses a menu toolbar, not a standard menu. I very much doubt
that the Outlook menu toolbar has the same height as any other menu bar.
In fact my standrad menu h
eigth is 18 pixels and the Outlook menu bar is
the same height as in your picture.

2) LabVIEW only takes over some of the system settings on startup.

3) LabVIEW's menu bar is its own implementation. It migh not account for
all possible window metrics.

Ok. I tested it and LabVIEW accounts for most changes immediately but it
will keep the menu height always the same. The reason is obvious when
you look at the icon. Toolbar plus menu bar are the height of the icon.
Disabling toolbar will hide the icon but the menu bar will stay the same.

As to Outlook (I have 2000) it will ignore the changed menu height just
as much as LabVIEW does (so does Mozilla), so LabVIEW is in good company
with that.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 4
(3,186 Views)
Rolf,

Thank you for you're input. I Can see now that Outlook's Menu does not respond to Window's settings and hence a bad example. Sadly, like you said, I guess LabVIEW is in the same company. I suppose I will find a work around. Perhaps slipping in a couple pixels of space somewhere.

Thanks Again,
Glen
0 Kudos
Message 3 of 4
(3,186 Views)
AstroMed Glen wrote:
> Rolf,
>
> Thank you for you're input. I Can see now that Outlook's Menu
> does not respond to Window's settings and hence a bad example. Sadly,
> like you said, I guess LabVIEW is in the same company. I suppose I
> will find a work around. Perhaps slipping in a couple pixels of space
> somewhere.

There is another issue with auto-adjusting menues. The overal windows
boundaries are supposed to stay the same under Windows and the client
area is reduced if the menu is made bigger.

For LabVIEW this does not play well at all, since the client area is
often filled with controls and such to create a specific layout. Making
that client area automatically smaller could potentially hide controls
or at le
ast mess up the carefully made layout of a frontpanel.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(3,186 Views)