From 12a3c77c2f4671813c2a09197234d5672f8ab5f3 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 12 Oct 2023 20:00:34 +0200 Subject: [PATCH] Demo: Minor tweak to angled headers demo. --- imgui_demo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 29a58f90..b386d8a6 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -5209,6 +5209,7 @@ static void ShowDemoWindowTables() ImGui::CheckboxFlags("_HighlightHoveredColumn", &table_flags, ImGuiTableFlags_HighlightHoveredColumn); ImGui::SetNextItemWidth(ImGui::GetFontSize() * 8); ImGui::SliderInt("Frozen columns", &frozen_cols, 0, 2); + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 8); ImGui::SliderInt("Frozen rows", &frozen_rows, 0, 2); if (ImGui::BeginTable("table_angled_headers", columns_count, table_flags, ImVec2(0.0f, TEXT_BASE_HEIGHT * 12)))