Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Menubar height cuts off the menubar & menus only clickable for 50% of half the y-size #51

Open
Zvendson opened this issue Jul 23, 2023 · 0 comments

Comments

@Zvendson
Copy link

tricky title buuut:
an issue without modifying the code is that all menubar entries like "File" and "Help" dont react on left clicking when you are at the lower half of the field.

I also tried shifting hte menubar entries on the Y axis down to be actually below the window title, cause I want mine to be beneath the title. You can test that in this line: https://github.com/StudioCherno/Walnut/blob/7e478a3828059eafabc31cb0559a31d1d83dad12/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp#L734C45-L734C45

just change it to:

ImGui::SetCursorPos(ImVec2(logoHorizontalOffset, 20.0f + titlebarVerticalOffset));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant