From 94295c52bac16af0d83826bc2b4f705c887cc663 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Wed, 8 Jul 2026 20:05:21 -0500 Subject: [PATCH] Dynamically set DeviceView minimum height based on height of contents to avoid devices with a lot of segments/zones getting squished --- qt/DeviceView.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qt/DeviceView.cpp b/qt/DeviceView.cpp index 39126b4a8..7cd628b06 100644 --- a/qt/DeviceView.cpp +++ b/qt/DeviceView.cpp @@ -1396,6 +1396,12 @@ void DeviceView::InitDeviceView() } } + /*-----------------------------------------------------*\ + | Determine minimum height | + \*-----------------------------------------------------*/ + init_size.setHeight(total_height * 15); + updateGeometry(); + /*-----------------------------------------------------*\ | Update LED labels | \*-----------------------------------------------------*/