1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-23 15:41:09 +02:00

Fix for bug 1480

Baselines of text produces by ShuttleGuiBase::AddPrompt and ShuttleGuiBase:AddUnits are different.

Simple fix of changing a style. Presumably this was a typo.
This commit is contained in:
David Bailes 2016-08-17 10:35:40 +01:00
parent c042b0c7c6
commit a17966609f

View File

@ -234,7 +234,7 @@ void ShuttleGuiBase::AddUnits(const wxString &Prompt)
mpWind = safenew wxStaticText(GetParent(), -1, Prompt, wxDefaultPosition, wxDefaultSize,
Style( wxALIGN_LEFT ));
mpWind->SetName(Prompt); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
UpdateSizersCore( false, wxALL | wxALIGN_LEFT );
UpdateSizersCore( false, wxALL | wxALIGN_CENTRE_VERTICAL );
}
/// Centred text string.