Browse Source

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

Fixes https://gitlab.com/kicad/code/kicad/issues/6371
6.0.7
Jeff Young 5 years ago
parent
commit
592cd99fd5
  1. 5
      eeschema/sch_text.cpp

5
eeschema/sch_text.cpp

@ -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 );

Loading…
Cancel
Save