-
Notifications
You must be signed in to change notification settings - Fork 4.9k
add limitation on number of captures in DQT #13735
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
add limitation on number of captures in DQT #13735
Conversation
return pushed_style_var; | ||
} | ||
|
||
bool RsImGui::InputIntCentered(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DO we really need a 100 code lines to center the text box?
I also see you used API we never used before like
IMGUI_TEST_ENGINE_ITEM_INFO
I believe this code is much more complex then it should be.
Please double check.
You can take as reference how Noy did the custom combo box text alignment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code was ported from ImGui with full support for the flags + modification to support text centering. i can remove this functionality.
tracked by RSDSO-20044