Pin dialog min size so that we don't wrap our (hacked) overbars.

Fixes https://gitlab.com/kicad/code/kicad/issues/6371
This commit is contained in:
Jeff Young 2020-11-13 16:14:44 +00:00
parent b29cd8e3a1
commit 592cd99fd5
1 changed files with 4 additions and 1 deletions

View File

@ -1245,7 +1245,10 @@ HTML_MESSAGE_BOX* SCH_TEXT::ShowSyntaxHelp( wxWindow* aParentWindow )
;
HTML_MESSAGE_BOX* dlg = new HTML_MESSAGE_BOX( nullptr, _( "Syntax Help" ) );
dlg->SetDialogSizeInDU( 280, 280 );
wxSize sz( 320, 320 );
dlg->SetMinSize( dlg->ConvertDialogToPixels( sz ) );
dlg->SetDialogSizeInDU( sz.x, sz.y );
wxString html_txt;
ConvertMarkdown2Html( wxGetTranslation( msg ), html_txt );