-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
InputText
not scaling with SetWindowFontScale
#6471
Comments
@vulcan-dev It turns out that The author also gives a tutorial in the code stating what you should do instead to achieve a scalable UI:
See Line 372 in 7e03ae3
|
Perfect, I'll try that out later when I have time. |
Closing this, as, in spite of |
Version/Branch of Dear ImGui:
Version: 1.83
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_dx11.cpp
Compiler: MSVC
Operating System: Windows
My Issue/Question:
I've got a scale slider and everything scales besides
InputText
, I expected it to scale as I think that's how it should work.Screenshots/Video

Scale of 2:
I'm drawing it in a child window, hence the border. I expect
InputText
to fill that area.Scale of 1:

Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: