diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-25 11:49:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-25 11:49:03 +0200 |
commit | 3562ee6ef75d3ff436d9fb38f8a4ea83329162ec (patch) | |
tree | ef40618fb3be8480abe522bc19011f4e9af1a553 /editor/inspect-draw.cpp | |
parent | 08cafb27a68de54feb0945f46f20fcc48b113379 (diff) |
editor/inspect: adjust label width dynamically
Diffstat (limited to 'editor/inspect-draw.cpp')
-rw-r--r-- | editor/inspect-draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/inspect-draw.cpp b/editor/inspect-draw.cpp index 1f1ccec3..d3c95e58 100644 --- a/editor/inspect-draw.cpp +++ b/editor/inspect-draw.cpp @@ -45,7 +45,7 @@ void app::draw_inspector() snformat(buf, "inspector-{:08x}"_cf, e.id); auto b1 = push_id(buf); - ImGui::SetNextWindowSize({300*dpi[0], 0}); + ImGui::SetNextWindowSize({375*dpi[0], 0}); auto name = loader.strip_prefix(e.atlas->name()); if (z == 0) snformat(buf, "{} ({}x{} -> {}x{})"_cf, name, ch.x, ch.y, (int)pos.x, (int)pos.y); |