diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-06 18:18:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-06 18:18:35 +0100 |
| commit | e683d5d750b2532806594cfafbd6e732b3004a99 (patch) | |
| tree | 92ce39a7f8da7dd3c6c6b157787443b34e42a042 /src/wx/wx_util.cc | |
| parent | 81f69b2a4a7227f7e6c80014ff21da59c499e2e8 (diff) | |
Various layout tweaks (looking at OS X).
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 1a7b73faf..6ed8747d7 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -41,7 +41,7 @@ wxStaticText * add_label_to_sizer (wxSizer* s, wxWindow* p, wxString t, int prop) { wxStaticText* m = new wxStaticText (p, wxID_ANY, t); - s->Add (m, prop, wxALIGN_CENTER_VERTICAL | wxALL, 6); + s->Add (m, prop, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 6); return m; } @@ -49,7 +49,7 @@ wxStaticText * add_label_to_grid_bag_sizer (wxGridBagSizer* s, wxWindow* p, wxString t, wxGBPosition pos, wxGBSpan span) { wxStaticText* m = new wxStaticText (p, wxID_ANY, t); - s->Add (m, pos, span, wxALIGN_CENTER_VERTICAL | wxALL, 6); + s->Add (m, pos, span, wxALIGN_CENTER_VERTICAL | wxALL); return m; } |
