From 428a47bab81a4fe3ae5b0e02cd8d678ccf760a22 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 12 Mar 2022 11:41:30 -0600 Subject: [PATCH] [nostalgia/core/studio] Add sizing policy to palette table --- src/nostalgia/core/studio/tilesheeteditor-imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/studio/tilesheeteditor-imgui.cpp b/src/nostalgia/core/studio/tilesheeteditor-imgui.cpp index d7986c680..9e3af6299 100644 --- a/src/nostalgia/core/studio/tilesheeteditor-imgui.cpp +++ b/src/nostalgia/core/studio/tilesheeteditor-imgui.cpp @@ -235,7 +235,7 @@ void TileSheetEditorImGui::drawTileSheet(const geo::Vec2 &fbSize) noexcept { void TileSheetEditorImGui::drawPalettePicker() noexcept { // header - if (ImGui::BeginTable("PaletteTable", 3, ImGuiTableFlags_RowBg)) { + if (ImGui::BeginTable("PaletteTable", 3, ImGuiTableFlags_RowBg | ImGuiTableFlags_SizingStretchProp)) { ImGui::TableSetupColumn("No.", 0, 0.45); ImGui::TableSetupColumn("", 0, 0.22); ImGui::TableSetupColumn("Color16", 0, 3);