From bb5873bf2028fc7a99d947898a9ba6a223e4793f Mon Sep 17 00:00:00 2001 From: John Beard Date: Wed, 27 Mar 2019 12:36:04 +0000 Subject: [PATCH] Pcbnew: Align right margins in text properties dialog (cherry picked from commit b7017167f054d09c7e6c82bc18789a2e1e54ceaf) --- pcbnew/dialogs/dialog_text_properties_base.cpp | 2 +- pcbnew/dialogs/dialog_text_properties_base.fbp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_text_properties_base.cpp b/pcbnew/dialogs/dialog_text_properties_base.cpp index 4bb0ec0832..51029e0ec6 100644 --- a/pcbnew/dialogs/dialog_text_properties_base.cpp +++ b/pcbnew/dialogs/dialog_text_properties_base.cpp @@ -130,7 +130,7 @@ DIALOG_TEXT_PROPERTIES_BASE::DIALOG_TEXT_PROPERTIES_BASE( wxWindow* parent, wxWi int m_JustifyChoiceNChoices = sizeof( m_JustifyChoiceChoices ) / sizeof( wxString ); m_JustifyChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_JustifyChoiceNChoices, m_JustifyChoiceChoices, 0 ); m_JustifyChoice->SetSelection( 0 ); - fgSizerSetup->Add( m_JustifyChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT, 3 ); + fgSizerSetup->Add( m_JustifyChoice, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 3 ); m_ThicknessLabel = new wxStaticText( this, wxID_ANY, _("Thickness:"), wxDefaultPosition, wxDefaultSize, 0 ); m_ThicknessLabel->Wrap( -1 ); diff --git a/pcbnew/dialogs/dialog_text_properties_base.fbp b/pcbnew/dialogs/dialog_text_properties_base.fbp index 9bc85d1cdf..426cb91523 100644 --- a/pcbnew/dialogs/dialog_text_properties_base.fbp +++ b/pcbnew/dialogs/dialog_text_properties_base.fbp @@ -1339,7 +1339,7 @@ 3 - wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT + wxALIGN_CENTER_VERTICAL|wxEXPAND 0 1