mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Unified IMGUI_SAME_LINE width
This commit is contained in:
2
Log.cpp
2
Log.cpp
@@ -261,7 +261,7 @@ void Log::Render(bool *showWarnings)
|
||||
if (ImGui::BeginPopupModal("Warning", NULL, ImGuiWindowFlags_AlwaysAutoResize))
|
||||
{
|
||||
ImGuiToolkit::Icon(9, 4);
|
||||
ImGui::SameLine(0, 10);
|
||||
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
||||
ImGui::SetNextItemWidth(width);
|
||||
ImGui::TextColored(ImVec4(1.0f,0.6f,0.0f,1.0f), "%ld error(s) occured.\n\n", warnings.size());
|
||||
ImGui::Dummy(ImVec2(width, 0));
|
||||
|
||||
Reference in New Issue
Block a user