1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 07:16:48 -04:00

Stack workspace: Use full width for spectrum when no channels

This commit is contained in:
Jon Beniston 2022-09-06 10:36:30 +01:00
parent 3bfca073fd
commit d74c8b2edf

View File

@ -467,7 +467,7 @@ void Workspace::stackSubWindows()
}
// Calculate width & height needed for channels
int channelMinWidth = m_userChannelMinWidth;
int channelMinWidth = channels.size() > 0 ? m_userChannelMinWidth : 0;
int channelTotalMinHeight = 0;
int expandingChannels = 0;
for (auto window : channels)