Fix about dialog control spacing.

There is a difference between how wxStaticText and wxHyperlinkCtrl
controls are rendered causing alignment issue between the two.  The
cheap and dirty solution was to pad the wxStaticText but this may
yield inconsistent results depending on the platform.

Fixes https://gitlab.com/kicad/code/kicad/issues/4843
This commit is contained in:
Wayne Stambaugh 2020-07-08 12:56:05 -04:00
parent 8c15ecf8e4
commit 55dc0e8b2f
1 changed files with 8 additions and 8 deletions

View File

@ -268,7 +268,7 @@ void DIALOG_ABOUT::createNotebookPageByCategory(wxAuiNotebook* aParent, const wx
wxT( "" ) + sub_contributor->GetName(), wxT( "" ) + sub_contributor->GetName(),
sub_contributor->GetUrl(), sub_contributor->GetUrl(),
wxDefaultPosition, wxDefaultPosition,
wxDefaultSize, wxHL_ALIGN_LEFT ); wxDefaultSize );
} }
m_staticText1->Wrap( -1 ); m_staticText1->Wrap( -1 );