mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-26 09:08:44 +02:00
Fix bug 1449
Reduce height of Device ToolBar required by Gnome.
This commit is contained in:
parent
d092fe0e4b
commit
d655ea1c81
@ -462,8 +462,10 @@ void DeviceToolBar::RepositionCombos()
|
||||
desiredChannels.x = mInputChannels->GetBestSize().x;
|
||||
desiredChannels.y = mInputChannels->GetSize().y;
|
||||
|
||||
// wxGtk (Gnome) has larger comboboxes than the other platforms. For DeviceToolBar this prevents
|
||||
// the toolbar docking on a single height row. So we shrink it to prevent this.
|
||||
#ifdef __WXGTK__
|
||||
desiredHost.SetHeight(mHost->GetBestSize().y);
|
||||
desiredHost.SetHeight(mHost->GetBestSize().y -4);
|
||||
desiredInput.SetHeight(desiredHost.GetHeight());
|
||||
desiredOutput.SetHeight(desiredHost.GetHeight());
|
||||
desiredChannels.SetHeight(desiredHost.GetHeight());
|
||||
|
Loading…
x
Reference in New Issue
Block a user