From a98ea2fb2efcfb6e537045d94afebe310277a8d8 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 12 Sep 2020 10:52:12 +0200 Subject: [PATCH] Fix a minor wxWidgets alert. --- pcbnew/dialogs/panel_setup_mask_and_paste_base.cpp | 2 +- pcbnew/dialogs/panel_setup_mask_and_paste_base.fbp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/panel_setup_mask_and_paste_base.cpp b/pcbnew/dialogs/panel_setup_mask_and_paste_base.cpp index 9294db3b76..296a00d6be 100644 --- a/pcbnew/dialogs/panel_setup_mask_and_paste_base.cpp +++ b/pcbnew/dialogs/panel_setup_mask_and_paste_base.cpp @@ -30,7 +30,7 @@ PANEL_SETUP_MASK_AND_PASTE_BASE::PANEL_SETUP_MASK_AND_PASTE_BASE( wxWindow* pare m_staticTextInfoMaskMinWidth->Wrap( -1 ); m_staticTextInfoMaskMinWidth->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) ); - bSizer4->Add( m_staticTextInfoMaskMinWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 ); + bSizer4->Add( m_staticTextInfoMaskMinWidth, 0, wxALL|wxEXPAND, 5 ); bMessages->Add( bSizer4, 1, wxEXPAND, 5 ); diff --git a/pcbnew/dialogs/panel_setup_mask_and_paste_base.fbp b/pcbnew/dialogs/panel_setup_mask_and_paste_base.fbp index 7606fd37b1..418ffa0934 100644 --- a/pcbnew/dialogs/panel_setup_mask_and_paste_base.fbp +++ b/pcbnew/dialogs/panel_setup_mask_and_paste_base.fbp @@ -141,7 +141,7 @@ 5 - wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND + wxALL|wxEXPAND 0 1