From 8ba3dcde1e31d5d733f994fb2e6db175fff7867b Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Tue, 14 Mar 2000 14:43:30 +0000 Subject: [PATCH] better dialog for Motif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/dbbrowse/dlguser.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/demos/dbbrowse/dlguser.cpp b/demos/dbbrowse/dlguser.cpp index 9cfdc21774..1c6e495978 100644 --- a/demos/dbbrowse/dlguser.cpp +++ b/demos/dbbrowse/dlguser.cpp @@ -55,7 +55,8 @@ DlgUser::DlgUser(wxWindow *parent, MainDoc *p_Doc, const wxString& title) : 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); @@ -74,7 +75,8 @@ DlgUser::DlgUser(wxWindow *parent, MainDoc *p_Doc, const wxString& title) : 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")); -- 2.45.2