Merge pull request #1403 from srcejon/stack_use_full_width

Stack workspace: Use full width for spectrum when no channels
pull/1404/head
Edouard Griffiths 2022-09-06 21:14:55 +02:00 zatwierdzone przez GitHub
commit 664e627191
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)