mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
FIX:text color and icon size in menu item of IMSlider
Change-Id: I472c3a30d911336029e5693dee6bb81216307413
This commit is contained in:
parent
6fe6d36e17
commit
9bd0db371d
10 changed files with 269 additions and 81 deletions
|
@ -550,7 +550,7 @@ void GizmoObjectManipulation::do_render_move_window(ImGuiWrapper *imgui_wrapper,
|
|||
#endif
|
||||
|
||||
// BBS
|
||||
ImGuiWrapper::push_toolbar_style();
|
||||
ImGuiWrapper::push_toolbar_style(m_glcanvas.get_scale());
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0.0, 6.0));
|
||||
|
||||
std::string name = this->m_new_title_string + "##" + window_name;
|
||||
|
@ -664,7 +664,7 @@ void GizmoObjectManipulation::do_render_rotate_window(ImGuiWrapper *imgui_wrappe
|
|||
#endif
|
||||
|
||||
// BBS
|
||||
ImGuiWrapper::push_toolbar_style();
|
||||
ImGuiWrapper::push_toolbar_style(m_glcanvas.get_scale());
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0.0, 6.0));
|
||||
|
||||
std::string name = this->m_new_title_string + "##" + window_name;
|
||||
|
@ -783,7 +783,7 @@ void GizmoObjectManipulation::do_render_scale_input_window(ImGuiWrapper* imgui_w
|
|||
#endif
|
||||
|
||||
//BBS
|
||||
ImGuiWrapper::push_toolbar_style();
|
||||
ImGuiWrapper::push_toolbar_style(m_glcanvas.get_scale());
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0.0, 6.0));
|
||||
|
||||
std::string name = this->m_new_title_string + "##" + window_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue