From d3bd691578eda0a1d91241c7da6e9dbbe59db0b3 Mon Sep 17 00:00:00 2001 From: Brendan Hagan Date: Tue, 21 Jun 2022 22:46:50 -0400 Subject: [PATCH] fix: correct wx positioning specifications for style panel --- src/gui/set/style_panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/set/style_panel.cpp b/src/gui/set/style_panel.cpp index 50bd6412..bda16a18 100644 --- a/src/gui/set/style_panel.cpp +++ b/src/gui/set/style_panel.cpp @@ -46,9 +46,9 @@ void StylePanel::initControls() { wxSizer* s2 = new wxBoxSizer(wxVERTICAL); s2->Add(list, 0, wxEXPAND | wxBOTTOM, 4); wxSizer* s3 = new wxBoxSizer(wxHORIZONTAL); - s3->Add(stylesheet_filter, 0, wxBOTTOM | wxALIGN_LEFT, 4); + s3->Add(stylesheet_filter, 0, wxBOTTOM | wxLEFT, 4); s3->AddStretchSpacer(); - s3->Add(use_for_all, 0, wxBOTTOM | wxALIGN_RIGHT, 4); + s3->Add(use_for_all, 0, wxBOTTOM | wxRIGHT, 4); s2->Add(s3, wxSizerFlags().Expand().Border(wxALL, 6)); wxSizer* s4 = new wxStaticBoxSizer(wxVERTICAL, this, _LABEL_("styling options")); s4->Add(use_custom_options, 0, wxEXPAND | wxALL, 4);