Tighten up the margin to the right of the layers widget.

Fixes: lp:1788462
* https://bugs.launchpad.net/kicad/+bug/1788462
This commit is contained in:
Jeff Young 2018-08-24 19:23:37 +01:00
parent e16a2ef80a
commit 030663d847
1 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@ wxSize LAYER_WIDGET::GetBestSize() const
}
// Account for the parent's frame:
totWidth += 32;
totWidth += 15;
/* The minimum height is a small size to properly force computation
@ -579,7 +579,7 @@ wxSize LAYER_WIDGET::GetBestSize() const
}
}
// account for the parent's frame, this one has void space of 10 PLUS a border:
totWidth += 32;
totWidth += 15;
// For totHeight re-use the previous small one
wxSize renderz( totWidth, totHeight );