-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
measure menu bar height #252
Comments
You should be able to call GetWindowSize() from within BeginMainMenuBar() / EndMainMenuBar(). |
awesome, thanks! |
* feature/issue85_assetsystem: (30 commits) Update .travis.yml Update .travis.yml Update .travis.yml Update .travis.yml clean remove newly unused submodule fix correct main menu height calculation (see ocornut/imgui#252) update win32 cimgui binary and submodule dep update to current cimgui can close asset view with "X" - fix sorting of console messages - todo for issue #133 switch to new logging issue ref do not ignore dub.selection anymore fix module/file name fix texture loading of an asset texture (#85) play/pause/step buttons in menubar (closes #129) fix compilation of non-editor version closes #126: menu components in separat module cleanup todo added ...
Linking to #1439 for search purposes, note that if you increase |
I noted that if the call to GetWindowSize() is done from within BeginMenuBar() / EndMenuBar() it returns a value (in my case 32) which is different from a call done from within BeginMainMenuBar() / EndMainMenuBar() (in my case 24). Edit: instead, calling GetFrameHeight() from within BeginMenuBar() / EndMenuBar() seems returning the correct value (24 in my case). |
I want to place a window right below the main menu bar. is there a way to query that height reliably?
The text was updated successfully, but these errors were encountered: