diff --git a/pcbnew/dialogs/dialog_layer_selection_base.cpp b/pcbnew/dialogs/dialog_layer_selection_base.cpp
index e9c092f699..c77d02d723 100644
--- a/pcbnew/dialogs/dialog_layer_selection_base.cpp
+++ b/pcbnew/dialogs/dialog_layer_selection_base.cpp
@@ -1,8 +1,8 @@
///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Nov 22 2017)
+// C++ code generated with wxFormBuilder (version Aug 4 2017)
// http://www.wxformbuilder.org/
//
-// PLEASE DO *NOT* EDIT THIS FILE!
+// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_layer_selection_base.h"
@@ -26,7 +26,7 @@ DIALOG_LAYER_SELECTION_BASE::DIALOG_LAYER_SELECTION_BASE( wxWindow* parent, wxWi
m_leftGridLayers->EnableEditing( false );
m_leftGridLayers->EnableGridLines( true );
m_leftGridLayers->EnableDragGridSize( false );
- m_leftGridLayers->SetMargins( 0, 3 );
+ m_leftGridLayers->SetMargins( 5, 3 );
// Columns
m_leftGridLayers->EnableDragColMove( false );
@@ -56,7 +56,7 @@ DIALOG_LAYER_SELECTION_BASE::DIALOG_LAYER_SELECTION_BASE( wxWindow* parent, wxWi
m_rightGridLayers->EnableEditing( false );
m_rightGridLayers->EnableGridLines( true );
m_rightGridLayers->EnableDragGridSize( false );
- m_rightGridLayers->SetMargins( 0, 3 );
+ m_rightGridLayers->SetMargins( 5, 3 );
// Columns
m_rightGridLayers->EnableDragColMove( false );
@@ -77,7 +77,7 @@ DIALOG_LAYER_SELECTION_BASE::DIALOG_LAYER_SELECTION_BASE( wxWindow* parent, wxWi
bSizerUpper->Add( m_rightGridLayers, 1, wxALL|wxEXPAND, 5 );
- bSizerMain->Add( bSizerUpper, 1, wxEXPAND, 5 );
+ bSizerMain->Add( bSizerUpper, 1, wxEXPAND|wxALL, 5 );
this->SetSizer( bSizerMain );
diff --git a/pcbnew/dialogs/dialog_layer_selection_base.fbp b/pcbnew/dialogs/dialog_layer_selection_base.fbp
index f588115404..7581c37ffe 100644
--- a/pcbnew/dialogs/dialog_layer_selection_base.fbp
+++ b/pcbnew/dialogs/dialog_layer_selection_base.fbp
@@ -45,7 +45,7 @@
DIALOG_LAYER_SELECTION_BASE
-1,-1
- wxDEFAULT_DIALOG_STYLE
+ wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
Select Layer
@@ -95,7 +95,7 @@
none