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

Set position offset to every element in a window #8116

Open
zMidair opened this issue Oct 29, 2024 · 0 comments
Open

Set position offset to every element in a window #8116

zMidair opened this issue Oct 29, 2024 · 0 comments

Comments

@zMidair
Copy link

zMidair commented Oct 29, 2024

Version/Branch of Dear ImGui:

Version 1.91.0, Repository: matcool/imgui-cocos

Back-ends:

n/a

Compiler, OS:

Windows 11 + CMake

Full config/build information:

No response

Details:

Hello!
I am trying to make a zooming feature for my imgui window but it ends up covering the bottom part. The only things im scaling at the moment are the buttons, but after some thinking, I think I also need to set the offset between all elements in a window for this.

I'm not sure if my possible solution is right, feel free to tell me if I need to do anything else to prevent it from covering parts of the window when zooming! Thank you.

Screenshots/Video:

video

Minimal, Complete and Verifiable Example code:

No response

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