From c79d6391ddd5fb194b7cd3f5eacd5db708122338 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Mon, 19 Oct 2020 14:34:43 -0400 Subject: [PATCH] Eeschema: minor plot dialog layout fixes. --- eeschema/dialogs/dialog_plot_schematic_base.cpp | 8 +++----- eeschema/dialogs/dialog_plot_schematic_base.fbp | 9 ++++++--- eeschema/dialogs/dialog_plot_schematic_base.h | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/eeschema/dialogs/dialog_plot_schematic_base.cpp b/eeschema/dialogs/dialog_plot_schematic_base.cpp index 59ba32a96e..0eb53f896a 100644 --- a/eeschema/dialogs/dialog_plot_schematic_base.cpp +++ b/eeschema/dialogs/dialog_plot_schematic_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -28,12 +28,10 @@ DIALOG_PLOT_SCHEMATIC_BASE::DIALOG_PLOT_SCHEMATIC_BASE( wxWindow* parent, wxWind m_outputDirectoryName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_outputDirectoryName->SetToolTip( _("Target directory for plot files. Can be absolute or relative to the schematic main file location.") ); - bSizerDir->Add( m_outputDirectoryName, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 4 ); + bSizerDir->Add( m_outputDirectoryName, 1, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 4 ); m_browseButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); - m_browseButton->SetMinSize( wxSize( 30,28 ) ); - - bSizerDir->Add( m_browseButton, 0, wxRIGHT, 5 ); + bSizerDir->Add( m_browseButton, 0, wxALIGN_CENTER_HORIZONTAL|wxRIGHT, 5 ); bMainSizer->Add( bSizerDir, 0, wxALL|wxEXPAND, 7 ); diff --git a/eeschema/dialogs/dialog_plot_schematic_base.fbp b/eeschema/dialogs/dialog_plot_schematic_base.fbp index 4a24e59a72..ab4efedb3f 100644 --- a/eeschema/dialogs/dialog_plot_schematic_base.fbp +++ b/eeschema/dialogs/dialog_plot_schematic_base.fbp @@ -14,6 +14,7 @@ dialog_plot_schematic_base 1000 none + 1 Dialog_plot_schematic_base @@ -25,6 +26,7 @@ 1 1 UI + 0 1 0 @@ -132,7 +134,7 @@ 4 - wxALIGN_CENTER_VERTICAL|wxLEFT + wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT 1 1 @@ -196,7 +198,7 @@ 5 - wxRIGHT + wxALIGN_CENTER_HORIZONTAL|wxRIGHT 0 1 @@ -207,6 +209,7 @@ + 0 @@ -239,7 +242,7 @@ 0 - 30,28 + -1,-1 1 m_browseButton 1 diff --git a/eeschema/dialogs/dialog_plot_schematic_base.h b/eeschema/dialogs/dialog_plot_schematic_base.h index 5d1930e255..96aa769ae8 100644 --- a/eeschema/dialogs/dialog_plot_schematic_base.h +++ b/eeschema/dialogs/dialog_plot_schematic_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!