Skip to content

Rendering of ImGui::ColorEdit3 changed #5912

@mklefrancois

Description

@mklefrancois

Rendering of ImGui::ColorEdit3 within a Dock, used to render like this:
image

But after the change from 9b0c26b, (lines 5009, 5010 in imgui_widget.cpp)

        const float text_offset_x = (flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x;
        window->DC.CursorPos = ImVec2(pos.x + text_offset_x, pos.y + style.FramePadding.y);

were changed for the following line

SameLine(0.0f, style.ItemInnerSpacing.x);

And the GUI item now renders as the following
image

Maybe there is a misusage of the Docker on my side, but this is an unfortunate side effect.

Is there something I can do to recover the original behavior?

Kind regards
-mkl

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions