[nostalgia/core/studio] Add sizing policy to palette table

This commit is contained in:
Gary Talent 2022-03-12 11:41:30 -06:00
parent 91036aaaeb
commit 428a47bab8

View File

@ -235,7 +235,7 @@ void TileSheetEditorImGui::drawTileSheet(const geo::Vec2 &fbSize) noexcept {
void TileSheetEditorImGui::drawPalettePicker() noexcept { void TileSheetEditorImGui::drawPalettePicker() noexcept {
// header // 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("No.", 0, 0.45);
ImGui::TableSetupColumn("", 0, 0.22); ImGui::TableSetupColumn("", 0, 0.22);
ImGui::TableSetupColumn("Color16", 0, 3); ImGui::TableSetupColumn("Color16", 0, 3);