From 579d0d3bf06019409a1d842a523417e425d1af96 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 29 Nov 2022 14:16:29 +0100 Subject: imgui: tweak row height --- editor/imgui-scenery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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; -- cgit v1.2.3