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:
parent
c042b0c7c6
commit
a17966609f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue