fixed vert offset for single line text ctrls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-11-24 17:31:02 +00:00
parent 17516c205e
commit 6378b5268d
6 changed files with 45 additions and 32 deletions

View File

@@ -409,6 +409,11 @@ TextTestFrame::TextTestFrame(const wxString& title)
sizerMiddle->Add(sizerMiddleUp, 1, wxGROW, 5);
sizerMiddle->Add(sizerMiddleDown, 1, wxGROW | wxTOP, 5);
// I don't understand what's going on :-(
#ifdef __WXGTK__
sizerMiddle->SetMinSize(320, 0);
#endif
// right pane
wxStaticBox *box3 = new wxStaticBox(m_panel, -1, _T("&Text:"));
m_sizerText = new wxStaticBoxSizer(box3, wxHORIZONTAL);