From 3589efd759e3baea9863ab4953d43d628b9be951 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 10 Nov 2020 14:40:45 -0500 Subject: [PATCH] Pcbnew: minor plot dialog layout fixes. --- pcbnew/dialogs/dialog_plot_base.cpp | 6 ++---- pcbnew/dialogs/dialog_plot_base.fbp | 8 ++++++-- pcbnew/dialogs/dialog_plot_base.h | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pcbnew/dialogs/dialog_plot_base.cpp b/pcbnew/dialogs/dialog_plot_base.cpp index b06b5a6749..bad35ef813 100644 --- a/pcbnew/dialogs/dialog_plot_base.cpp +++ b/pcbnew/dialogs/dialog_plot_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -43,9 +43,7 @@ DIALOG_PLOT_BASE::DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id, const wxStr bupperSizer->Add( m_outputDirectoryName, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 ); m_browseButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); - m_browseButton->SetMinSize( wxSize( 29,29 ) ); - - bupperSizer->Add( m_browseButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); + bupperSizer->Add( m_browseButton, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 ); m_MainSizer->Add( bupperSizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); diff --git a/pcbnew/dialogs/dialog_plot_base.fbp b/pcbnew/dialogs/dialog_plot_base.fbp index 6643a4dce5..79139394ae 100644 --- a/pcbnew/dialogs/dialog_plot_base.fbp +++ b/pcbnew/dialogs/dialog_plot_base.fbp @@ -14,6 +14,7 @@ dialog_plot_base 1000 none + 1 Dialog_Plot_base @@ -25,6 +26,7 @@ 1 1 UI + 0 1 0 @@ -332,7 +334,7 @@ 5 - wxALIGN_CENTER_VERTICAL|wxRIGHT + wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT 0 1 @@ -343,6 +345,7 @@ + 0 @@ -375,7 +378,7 @@ 0 - 29,29 + -1,-1 1 m_browseButton 1 @@ -3943,6 +3946,7 @@ + 0 diff --git a/pcbnew/dialogs/dialog_plot_base.h b/pcbnew/dialogs/dialog_plot_base.h index 54a5e2feca..d9edceca1d 100644 --- a/pcbnew/dialogs/dialog_plot_base.h +++ b/pcbnew/dialogs/dialog_plot_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!