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:
parent
b29cd8e3a1
commit
592cd99fd5
|
@ -1245,7 +1245,10 @@ HTML_MESSAGE_BOX* SCH_TEXT::ShowSyntaxHelp( wxWindow* aParentWindow )
|
||||||
;
|
;
|
||||||
|
|
||||||
HTML_MESSAGE_BOX* dlg = new HTML_MESSAGE_BOX( nullptr, _( "Syntax Help" ) );
|
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;
|
wxString html_txt;
|
||||||
ConvertMarkdown2Html( wxGetTranslation( msg ), html_txt );
|
ConvertMarkdown2Html( wxGetTranslation( msg ), html_txt );
|
||||||
|
|
Loading…
Reference in New Issue