[nostalgia/core/studio] Add sizing policy to palette table
This commit is contained in:
parent
91036aaaeb
commit
428a47bab8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user