pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
61 stars 63 forks source link

Question about menubar height #1562

Open koendehondt opened 2 weeks ago

koendehondt commented 2 weeks ago

Context: Pharo 12.

Is it normal and desired that a menubar is as high as it is now?

Screenshot 2024-06-20 at 20 20 23

The menu bar is 38 pixels high. That is higher than the toolbar, which is 32 pixels high. That seems to be incorrect.

Shouldn't it be more like this, when adding a menubar to a box layout (with expand: false)?

Screenshot 2024-06-20 at 20 27 05

Here the height of the menubar is 23 pixels.

astares commented 2 weeks ago

I'd guess thats a bug. And I think nobody noticed as the Pharo tool windows mostly use toolbar only or apply menus only as context menus

koendehondt commented 1 week ago

Forgot to add the code to open the window:

SpInitializeWindowExample new open