mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Merge pull request #1403 from srcejon/stack_use_full_width
Stack workspace: Use full width for spectrum when no channels
This commit is contained in:
commit
664e627191
@ -467,7 +467,7 @@ void Workspace::stackSubWindows()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Calculate width & height needed for channels
|
// Calculate width & height needed for channels
|
||||||
int channelMinWidth = m_userChannelMinWidth;
|
int channelMinWidth = channels.size() > 0 ? m_userChannelMinWidth : 0;
|
||||||
int channelTotalMinHeight = 0;
|
int channelTotalMinHeight = 0;
|
||||||
int expandingChannels = 0;
|
int expandingChannels = 0;
|
||||||
for (auto window : channels)
|
for (auto window : channels)
|
||||||
|
Loading…
Reference in New Issue
Block a user