-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Modal dialog, why is it with ImGuiWindowFlags_NoSavedSettings ? #3091
Comments
Hello,
I have a task to evaluate this in my short list, it’s probable that we will make this change happen soon.
|
cool, thanks |
FYI I was tracking the source for it been there since the initial commit: (Perhaps modal windows probably should not need to follow the popup api, it's just getting in the way for many reasons.) |
Implemented that change now. Some very tangential thoughts (copying same message in #3091) ( Centering a modal window is surprisingly unobvious in a multi-viewport context, there are just many desirable scenarios. Considering an hypothetical
Won't work as expected due to how Currently the code and demo code uses |
Hello,
Version: 1.76
Branch: docking
i would like to know what is the reason where modal dialog are declared with flag ImGuiWindowFlags_NoSavedSettings.
i have a file diallog im using with modal dialog, and at start its always in defualt size who is small and i need to resize it.
but if i reactivate by disabling ImGuiWindowFlags_NoSavedSettings in ImGui::BeginPopupModal
i can have the filedialog with custom size after loading.
its annoying to do that at each app start.
can we remove ImGuiWindowFlags_NoSavedSettings at line 8456 of imgui.cpp in function ImGui::BeginPopupModal, ?
The text was updated successfully, but these errors were encountered: