1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

Remove the setting of the maximum size from the Preferences dialog.

The maximum size setting could introduce a horizontal scroll bar in the
keyboard preferences, making it awkward to read them.

The maximum size has been removed, but the initial, and minimum size
remain unchanged.
This commit is contained in:
David Bailes 2015-08-27 15:35:07 +01:00
parent ab5eb8a558
commit 1b6b354fc6

View File

@ -309,7 +309,9 @@ PrefsDialog::PrefsDialog
// Frankly, this is a hack to work around a bug in wxTreebook, and
// will have to be revisited if we add another category to mCategories.
// JKC later added a category and 20 onto the 7.
SetSizeHints(sz.x, sz.y + 7 + 20, 800, 627);
sz.y += 7 + 20;
SetSize(sz);
SetMinSize(sz);
// Center after all that resizing, but make sure it doesn't end up
// off-screen