FIX: Groove text ctrl is not wide engough
Jira: STUDIO-5434 Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com> Change-Id: I93c0995473a72b5c19bc413c38c090906e360455 (cherry picked from commit e4a8b0ef5e62ba0053dc782c30ea79b237a46ac3)
This commit is contained in:
parent
5fc7dc26fe
commit
5fa9e9fc6b
|
@ -2374,9 +2374,12 @@ bool GLGizmoAdvancedCut::render_slider_double_input(const std::string &label, fl
|
|||
double slider_with = 0.24 * m_editing_window_width;
|
||||
double item_in_gap = 0.01 * m_editing_window_width;
|
||||
double item_out_gap = 0.04 * m_editing_window_width;
|
||||
double first_input_width = 0.29 * m_editing_window_width;
|
||||
double second_input_width = 0.29 * m_editing_window_width;
|
||||
|
||||
double first_input_width = 0.37 * m_editing_window_width;
|
||||
double second_input_width = 0.37 * m_editing_window_width;
|
||||
#ifdef __APPLE__
|
||||
first_input_width = 0.5 * m_editing_window_width;
|
||||
second_input_width = 0.5 * m_editing_window_width;
|
||||
#endif
|
||||
ImGui::AlignTextToFramePadding();
|
||||
m_imgui->text(label);
|
||||
ImGui::SameLine(m_label_width);
|
||||
|
|
Loading…
Reference in New Issue