From 38bbc94c0ef5f568583f0d7ecc13a0e4043bd343 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 07:53:15 +0000 Subject: [PATCH] freqdisplay: hide settings bar when in transparent mode so frequencyValue fills the window Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/4427c934-bfa7-43ce-82fb-2b946d60094d Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com> --- plugins/feature/freqdisplay/freqdisplaygui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/feature/freqdisplay/freqdisplaygui.cpp b/plugins/feature/freqdisplay/freqdisplaygui.cpp index e81f49d71..4de78cf1d 100644 --- a/plugins/feature/freqdisplay/freqdisplaygui.cpp +++ b/plugins/feature/freqdisplay/freqdisplaygui.cpp @@ -413,6 +413,11 @@ void FreqDisplayGUI::applyTransparency() rollupContents->setTransparentBackground(true); ui->settingsContainer->setAutoFillBackground(true); + // Hide the controls bar so only frequencyValue fills the window. + // RollupContents::arrangeRollups() is triggered automatically by the + // Hide event and will reposition/resize horizontalWidget to use all + // available space. + ui->settingsContainer->hide(); } else { @@ -444,6 +449,8 @@ void FreqDisplayGUI::applyTransparency() ui->settingsContainer->setStyleSheet(QString()); ui->horizontalWidget->setStyleSheet(QString()); ui->frequencyValue->setStyleSheet(QString()); + // Restore the controls bar that was hidden while in transparent mode. + ui->settingsContainer->show(); } }