summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-09 00:36:01 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-09 00:36:01 +0200
commitf10849bd52470a93f54bb90686aa9a3b1e72e796 (patch)
tree863253a595f83559a5eb2ac00dc55a9b189e02a3 /src
parentdd7996d3c27f167d4f80bd8862f39781507589d7 (diff)
Stop text panel being so wide.
Diffstat (limited to 'src')
-rw-r--r--src/wx/text_panel.cc6
1 files changed, 3 insertions, 3 deletions
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;