From 5049214f33aedbfce30036e53d9f73fbe8f8bb4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Wielgus?= Date: Thu, 9 Apr 2020 17:37:27 -0400 Subject: [PATCH] Pcbnew statistics: remove horizontal margin in drill table This margin caused a horizontal scrollbar to appear on Debian Buster Xfce. --- pcbnew/dialogs/dialog_board_statistics_base.cpp | 4 ++-- pcbnew/dialogs/dialog_board_statistics_base.fbp | 8 ++++---- pcbnew/dialogs/dialog_board_statistics_base.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pcbnew/dialogs/dialog_board_statistics_base.cpp b/pcbnew/dialogs/dialog_board_statistics_base.cpp index e737599667..ffc3a77b07 100644 --- a/pcbnew/dialogs/dialog_board_statistics_base.cpp +++ b/pcbnew/dialogs/dialog_board_statistics_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version v3.8.0) +// C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -220,7 +220,7 @@ DIALOG_BOARD_STATISTICS_BASE::DIALOG_BOARD_STATISTICS_BASE( wxWindow* parent, wx m_gridDrills->EnableEditing( false ); m_gridDrills->EnableGridLines( true ); m_gridDrills->EnableDragGridSize( true ); - m_gridDrills->SetMargins( 10, 0 ); + m_gridDrills->SetMargins( 0, 0 ); // Columns m_gridDrills->AutoSizeColumns(); diff --git a/pcbnew/dialogs/dialog_board_statistics_base.fbp b/pcbnew/dialogs/dialog_board_statistics_base.fbp index 5459d5ab58..8a774e4a65 100644 --- a/pcbnew/dialogs/dialog_board_statistics_base.fbp +++ b/pcbnew/dialogs/dialog_board_statistics_base.fbp @@ -981,11 +981,11 @@ - + Drill Holes 0 - + 1 1 1 @@ -1036,7 +1036,7 @@ wxTAB_TRAVERSAL - + bDrillsSizer wxVERTICAL @@ -1097,7 +1097,7 @@ ,90,90,-1,70,0 0 - 10 + 0 0 -1,300 diff --git a/pcbnew/dialogs/dialog_board_statistics_base.h b/pcbnew/dialogs/dialog_board_statistics_base.h index 921d4188e1..74045f6dcb 100644 --- a/pcbnew/dialogs/dialog_board_statistics_base.h +++ b/pcbnew/dialogs/dialog_board_statistics_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version v3.8.0) +// C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!