Pcbnew: fix design rule dialog sizing on high DPI displays.

Remove maximum dialog width setting to allow the dialog to resize
properly on high DPI displays.

Fixes lp:1740356

https://bugs.launchpad.net/kicad/+bug/1740356
This commit is contained in:
Wayne Stambaugh 2017-12-28 13:56:13 -05:00
parent 5ca5783448
commit fd72c91acd
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxSize( 750,-1 ), wxSize( 800,-1 ) );
this->SetSizeHints( wxSize( -1,-1 ), wxSize( -1,-1 ) );
wxBoxSizer* bMainSizer;
bMainSizer = new wxBoxSizer( wxVERTICAL );

View File

@ -40,8 +40,8 @@
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="maximum_size">800,-1</property>
<property name="minimum_size">750,-1</property>
<property name="maximum_size">-1,-1</property>
<property name="minimum_size">-1,-1</property>
<property name="name">DIALOG_DESIGN_RULES_BASE</property>
<property name="pos"></property>
<property name="size">-1,-1</property>