From 31c1f7b6f6be3ba6d76e1efbdc1cbab3d8e29e11 Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Tue, 4 Jul 2023 23:27:10 -0700 Subject: [PATCH] Minor UI spacing tweaks. --- src/dlg_options.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dlg_options.cpp b/src/dlg_options.cpp index 296292e0c..11f3ba19e 100644 --- a/src/dlg_options.cpp +++ b/src/dlg_options.cpp @@ -186,16 +186,16 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c gridSizer->Add(m_freqList, wxGBPosition(0, 0), wxGBSpan(4, 2), wxEXPAND); m_freqListAdd = new wxButton(m_rigControlTab, wxID_ANY, _("Add"), wxDefaultPosition, wxSize(-1,-1), 0); - gridSizer->Add(m_freqListAdd, wxGBPosition(0, 2)); + gridSizer->Add(m_freqListAdd, wxGBPosition(0, 2), wxDefaultSpan, wxEXPAND); m_freqListRemove = new wxButton(m_rigControlTab, wxID_ANY, _("Remove"), wxDefaultPosition, wxSize(-1,-1), 0); - gridSizer->Add(m_freqListRemove, wxGBPosition(1, 2)); + gridSizer->Add(m_freqListRemove, wxGBPosition(1, 2), wxDefaultSpan, wxEXPAND); m_freqListMoveUp = new wxButton(m_rigControlTab, wxID_ANY, _("Move Up"), wxDefaultPosition, wxSize(-1,-1), 0); - gridSizer->Add(m_freqListMoveUp, wxGBPosition(2, 2)); + gridSizer->Add(m_freqListMoveUp, wxGBPosition(2, 2), wxDefaultSpan, wxEXPAND); m_freqListMoveDown = new wxButton(m_rigControlTab, wxID_ANY, _("Move Down"), wxDefaultPosition, wxSize(-1,-1), 0); - gridSizer->Add(m_freqListMoveDown, wxGBPosition(3, 2)); + gridSizer->Add(m_freqListMoveDown, wxGBPosition(3, 2), wxDefaultSpan, wxEXPAND); wxStaticText* labelEnterFreq = new wxStaticText(m_rigControlTab, wxID_ANY, wxT("Enter frequency (MHz):"), wxDefaultPosition, wxDefaultSize, 0); - gridSizer->Add(labelEnterFreq, wxGBPosition(4, 0)); + gridSizer->Add(labelEnterFreq, wxGBPosition(4, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); m_txtCtrlNewFrequency = new wxTextCtrl(m_rigControlTab, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0); gridSizer->Add(m_txtCtrlNewFrequency, wxGBPosition(4, 1), wxGBSpan(1, 2), wxEXPAND);