git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6688
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
layout->left.SameAs(m_Label1, wxRight, 10);
layout->centreY.SameAs(m_Label1,wxCentreY);
layout->width.Absolute(200);
layout->left.SameAs(m_Label1, wxRight, 10);
layout->centreY.SameAs(m_Label1,wxCentreY);
layout->width.Absolute(200);
- layout->height.Absolute(chSize);
+ //layout->height.Absolute(chSize);
+ layout->height.AsIs();
m_UserName->SetConstraints(layout);
m_UserName->SetConstraints(layout);
layout->left.SameAs(m_UserName, wxLeft);
layout->width.SameAs(m_UserName, wxWidth);
layout->centreY.SameAs(m_Label2,wxCentreY);
layout->left.SameAs(m_UserName, wxLeft);
layout->width.SameAs(m_UserName, wxWidth);
layout->centreY.SameAs(m_Label2,wxCentreY);
- layout->height.Absolute(chSize);
+ //layout->height.Absolute(chSize);
+ layout->height.AsIs();
m_Password->SetConstraints(layout);
m_OK = new wxButton(this, wxID_OK, _("OK"));
m_Password->SetConstraints(layout);
m_OK = new wxButton(this, wxID_OK, _("OK"));