From 4552b0ee69c8ee44f058272118e7d9329c8cb449 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Wed, 2 Aug 2023 12:40:33 -0400 Subject: [PATCH] Fixed crash with material editor --- Editor/src/ComponentsPanel/MaterialEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/ComponentsPanel/MaterialEditor.cpp b/Editor/src/ComponentsPanel/MaterialEditor.cpp index e716cfc5..bb76b093 100644 --- a/Editor/src/ComponentsPanel/MaterialEditor.cpp +++ b/Editor/src/ComponentsPanel/MaterialEditor.cpp @@ -38,7 +38,7 @@ void MaterialEditor::Draw(Ref material) if (flagsHeaderOpened) { - ImGui::BeginTable("##Flags", 3, ImGuiTableFlags_BordersInner); + ImGui::BeginTable("##Flags", 3, ImGuiTableFlags_BordersInner | ImGuiTableFlags_SizingStretchProp); { ImGui::TableSetupColumn("name", 0, 0.3f); ImGui::TableSetupColumn("set", 0, 0.6f);