From 3aa20e2008e9c47b4a7c526a57f419e34355f511 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Mon, 18 Dec 2023 12:00:12 -0500 Subject: [PATCH] Create Array: fix mismatched tooltips Partially addresses https://gitlab.com/kicad/code/kicad/-/issues/16391 --- pcbnew/dialogs/dialog_create_array_base.cpp | 6 +++--- pcbnew/dialogs/dialog_create_array_base.fbp | 4 ++-- pcbnew/dialogs/dialog_create_array_base.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pcbnew/dialogs/dialog_create_array_base.cpp b/pcbnew/dialogs/dialog_create_array_base.cpp index 2059c90e49..f8444b69d4 100644 --- a/pcbnew/dialogs/dialog_create_array_base.cpp +++ b/pcbnew/dialogs/dialog_create_array_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf) +// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf-dirty) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -67,7 +67,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID m_labelDx = new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY, _("Horizontal spacing:"), wxDefaultPosition, wxDefaultSize, 0 ); m_labelDx->Wrap( -1 ); - m_labelDx->SetToolTip( _("Distance between rows") ); + m_labelDx->SetToolTip( _("Distance between columns") ); fgSizerItemSpacing->Add( m_labelDx, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); @@ -80,7 +80,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID m_labelDy = new wxStaticText( sbSizerItemsSpacing->GetStaticBox(), wxID_ANY, _("Vertical spacing:"), wxDefaultPosition, wxDefaultSize, 0 ); m_labelDy->Wrap( -1 ); - m_labelDy->SetToolTip( _("Distance between columns") ); + m_labelDy->SetToolTip( _("Distance between rows") ); fgSizerItemSpacing->Add( m_labelDy, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); diff --git a/pcbnew/dialogs/dialog_create_array_base.fbp b/pcbnew/dialogs/dialog_create_array_base.fbp index c88a8b5a40..19796692df 100644 --- a/pcbnew/dialogs/dialog_create_array_base.fbp +++ b/pcbnew/dialogs/dialog_create_array_base.fbp @@ -571,7 +571,7 @@ 0 - Distance between rows + Distance between columns @@ -761,7 +761,7 @@ 0 - Distance between columns + Distance between rows diff --git a/pcbnew/dialogs/dialog_create_array_base.h b/pcbnew/dialogs/dialog_create_array_base.h index 07087709a2..f71d11ee65 100644 --- a/pcbnew/dialogs/dialog_create_array_base.h +++ b/pcbnew/dialogs/dialog_create_array_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf) +// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf-dirty) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!