]> git.saurik.com Git - wxWidgets.git/commitdiff
A little narrower initial layout
authorRobin Dunn <robin@alldunn.com>
Fri, 7 Nov 2003 19:33:25 +0000 (19:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 7 Nov 2003 19:33:25 +0000 (19:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/layout/layout.cpp

index dbca085b4e6f84aca7baff8c60842dbbf3ca4f34..cde64a3c999a415d6e678e5fbdb151f5d01f3e10 100644 (file)
@@ -529,8 +529,8 @@ MyGridBagSizerFrame::MyGridBagSizerFrame(const wxChar *title, int x, int y )
     m_hideBtn = new wxButton(p, GBS_HIDE_BTN, _T("Hide this item -->"));
     m_gbs->Add(m_hideBtn, POS(12, 3));
 
-    m_hideTxt = new wxTextCtrl(p, -1, _T("pos(12,4), size(250, -1)"),
-                                wxDefaultPosition, wxSize(250,-1));
+    m_hideTxt = new wxTextCtrl(p, -1, _T("pos(12,4), size(150, -1)"),
+                                wxDefaultPosition, wxSize(150,-1));
     m_gbs->Add( m_hideTxt, POS(12,4) );
     
     m_showBtn = new wxButton(p, GBS_SHOW_BTN, _T("<-- Show it again"));