HTML_MESSAGE_BOX: DPI-independent default size

This commit is contained in:
Chris Pavlina
2018-01-06 21:27:08 -07:00
parent 7b1c9c145f
commit 34b19e4ec3
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2014 KiCad Developers, see CHANGELOG.TXT for contributors.
* Copyright (C) 2014-2018 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -34,6 +34,7 @@ HTML_MESSAGE_BOX::HTML_MESSAGE_BOX( wxWindow* parent, const wxString& aTitle,
{
m_htmlWindow->SetLayoutDirection( wxLayout_LeftToRight );
ListClear();
SetSizeInDU( 240, 120 );
Center();
}