summaryrefslogtreecommitdiff
path: root/src/wx/content_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/content_widget.h')
-rw-r--r--src/wx/content_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h
index 302436e55..f7edf6b30 100644
--- a/src/wx/content_widget.h
+++ b/src/wx/content_widget.h
@@ -197,7 +197,7 @@ private:
_wrapped->Hide ();
_sizer->Detach (_wrapped);
_button->Show ();
- _sizer->Add (_button, _position, _span);
+ _sizer->Add(_button, _position, _span, wxALIGN_CENTER_VERTICAL);
_sizer->Layout ();
}