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
1 changed files with 1 additions and 1 deletions

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.