mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-25 11:34:09 -04:00
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>
This commit is contained in:
committed by
GitHub
parent
b84d76e91f
commit
38bbc94c0e
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user