diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-29 14:16:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-29 14:16:29 +0100 |
commit | 579d0d3bf06019409a1d842a523417e425d1af96 (patch) | |
tree | 567795d3581b3a18ff65b717ddf7e83fd0786de8 | |
parent | 3a4f8b1c0726934b6c6f83f69e795d098d60b5a9 (diff) |
imgui: tweak row height
-rw-r--r-- | editor/imgui-scenery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-scenery.cpp b/editor/imgui-scenery.cpp index 563c81b7..5c4fd37d 100644 --- a/editor/imgui-scenery.cpp +++ b/editor/imgui-scenery.cpp @@ -17,7 +17,7 @@ void app::draw_editor_scenery_pane(scenery_editor& ed) constexpr int ncolumns = 4; const auto size = ImGui::GetWindowSize(); auto b = imgui::begin_table("scenery-table", ncolumns, flags, size); - const auto row_height = ImGui::GetCurrentContext()->FontSize; + const auto row_height = ImGui::GetCurrentContext()->FontSize + 5*dpi; constexpr auto thumbnail_width = 50; const auto colwidth_type = ImGui::CalcTextSize("generic").x; const auto colwidth_group = ImGui::CalcTextSize("MMMMMMMMMMMMMMM").x; |