From eba231a8bb20c9c8b9a7b2f72a3da01dc9f67e82 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sun, 8 Jan 2023 11:27:01 -0500 Subject: [PATCH] 3D model selection dialog layout improvements. --- 3d-viewer/dialogs/dialog_select_3d_model_base.cpp | 4 ++-- 3d-viewer/dialogs/dialog_select_3d_model_base.fbp | 8 ++++++-- 3d-viewer/dialogs/dialog_select_3d_model_base.h | 5 +++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/3d-viewer/dialogs/dialog_select_3d_model_base.cpp b/3d-viewer/dialogs/dialog_select_3d_model_base.cpp index 4ce557d1fe..5e1825dfc0 100644 --- a/3d-viewer/dialogs/dialog_select_3d_model_base.cpp +++ b/3d-viewer/dialogs/dialog_select_3d_model_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -57,7 +57,7 @@ DIALOG_SELECT_3D_MODEL_BASE::DIALOG_SELECT_3D_MODEL_BASE( wxWindow* parent, wxWi m_stDirChoice = new wxStaticText( this, wxID_ANY, _("Available paths:"), wxDefaultPosition, wxDefaultSize, 0 ); m_stDirChoice->Wrap( -1 ); - bSizerLower->Add( m_stDirChoice, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 5 ); + bSizerLower->Add( m_stDirChoice, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP, 5 ); wxArrayString m_dirChoicesChoices; m_dirChoices = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_dirChoicesChoices, 0 ); diff --git a/3d-viewer/dialogs/dialog_select_3d_model_base.fbp b/3d-viewer/dialogs/dialog_select_3d_model_base.fbp index d9ad916caf..5d4b0626ec 100644 --- a/3d-viewer/dialogs/dialog_select_3d_model_base.fbp +++ b/3d-viewer/dialogs/dialog_select_3d_model_base.fbp @@ -1,6 +1,6 @@ - + ; C++ @@ -14,6 +14,7 @@ dialog_select_3d_model_base 1000 none + 1 dialog_select_3d_model_base @@ -25,6 +26,7 @@ 1 1 UI + 0 0 0 @@ -50,6 +52,7 @@ DIALOG_SHIM; dialog_shim.h; forward_declare Select 3D Model + 0 @@ -327,7 +330,7 @@ none 5 - wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT + wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP 0 1 @@ -464,6 +467,7 @@ + 0 diff --git a/3d-viewer/dialogs/dialog_select_3d_model_base.h b/3d-viewer/dialogs/dialog_select_3d_model_base.h index 81f7eff1cb..d0b50f2228 100644 --- a/3d-viewer/dialogs/dialog_select_3d_model_base.h +++ b/3d-viewer/dialogs/dialog_select_3d_model_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Oct 26 2018) +// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -22,10 +22,10 @@ #include #include #include +#include #include #include #include -#include #include /////////////////////////////////////////////////////////////////////////// @@ -61,6 +61,7 @@ class DIALOG_SELECT_3D_MODEL_BASE : public DIALOG_SHIM public: DIALOG_SELECT_3D_MODEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select 3D Model"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + ~DIALOG_SELECT_3D_MODEL_BASE(); void m_splitterWinOnIdle( wxIdleEvent& )