From 53a98b45f0b18147f029e12238243b215d41f8db Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 28 Mar 2020 10:28:57 +0100 Subject: [PATCH] DIALOG_ABOUT_BASE: fix a minor wxWidgets alert --- common/dialog_about/dialog_about_base.cpp | 4 ++-- common/dialog_about/dialog_about_base.fbp | 6 ++++-- common/dialog_about/dialog_about_base.h | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/common/dialog_about/dialog_about_base.cpp b/common/dialog_about/dialog_about_base.cpp index 10b2fc23ef..5611322d15 100644 --- a/common/dialog_about/dialog_about_base.cpp +++ b/common/dialog_about/dialog_about_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version Jul 10 2019) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -63,7 +63,7 @@ DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE( wxWindow* parent, wxWindowID id, const wxS m_btReportBug = new wxButton( this, wxID_COPY, _("&Report Bug"), wxDefaultPosition, wxDefaultSize, 0 ); m_btReportBug->SetToolTip( _("Report a problem with KiCad") ); - bSizer5->Add( m_btReportBug, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 5 ); + bSizer5->Add( m_btReportBug, 0, wxALL|wxEXPAND, 5 ); bSizer5->Add( 0, 0, 1, wxEXPAND, 5 ); diff --git a/common/dialog_about/dialog_about_base.fbp b/common/dialog_about/dialog_about_base.fbp index 045aa984f7..6c29e1e2d7 100644 --- a/common/dialog_about/dialog_about_base.fbp +++ b/common/dialog_about/dialog_about_base.fbp @@ -14,6 +14,7 @@ dialog_about_base 1000 none + 1 MyProject @@ -25,6 +26,7 @@ 1 1 UI + 0 1 0 @@ -45,7 +47,7 @@ -1,-1 DIALOG_ABOUT_BASE - 1000,500 + 570,500 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER About @@ -484,7 +486,7 @@ 5 - wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND + wxALL|wxEXPAND 0 1 diff --git a/common/dialog_about/dialog_about_base.h b/common/dialog_about/dialog_about_base.h index f764b0f4fb..4dbc07852c 100644 --- a/common/dialog_about/dialog_about_base.h +++ b/common/dialog_about/dialog_about_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version Jul 10 2019) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -52,7 +52,7 @@ class DIALOG_ABOUT_BASE : public wxDialog public: - DIALOG_ABOUT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 1000,500 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + DIALOG_ABOUT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 570,500 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); ~DIALOG_ABOUT_BASE(); };