From f10849bd52470a93f54bb90686aa9a3b1e72e796 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 Apr 2021 00:36:01 +0200 Subject: Stop text panel being so wide. --- src/wx/text_panel.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index a3e8a2c63..cdd61e109 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -288,9 +288,9 @@ TextPanel::add_to_grid () { auto s = new wxBoxSizer (wxHORIZONTAL); - s->Add (_text_view_button, 1, wxALL, DCPOMATIC_SIZER_GAP); - s->Add (_fonts_dialog_button, 1, wxALL, DCPOMATIC_SIZER_GAP); - s->Add (_appearance_dialog_button, 1, wxALL, DCPOMATIC_SIZER_GAP); + s->Add (_text_view_button, 0, wxALL, DCPOMATIC_SIZER_GAP); + s->Add (_fonts_dialog_button, 0, wxALL, DCPOMATIC_SIZER_GAP); + s->Add (_appearance_dialog_button, 0, wxALL, DCPOMATIC_SIZER_GAP); _grid->Add (s, wxGBPosition(r, 0), wxGBSpan(1, 2)); ++r; -- cgit v1.2.3