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:
parent
5ca5783448
commit
fd72c91acd
|
@ -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 );
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue