From: <ma...@us...> - 2003-12-24 07:36:48
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv18480 Modified Files: SBPanel.cpp Log Message: Sidebar now resizes correctly according to largest open section width. Index: SBPanel.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/SBPanel.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- SBPanel.cpp 22 Dec 2003 12:06:23 -0000 1.12 +++ SBPanel.cpp 24 Dec 2003 07:36:46 -0000 1.13 @@ -116,7 +116,8 @@ mainsizer->Show(content); shown = true; } - GetParent()->Layout(); + GetParent()->Fit(); + GetParent()->GetParent()->Fit(); wxGetTopLevelParent(this)->Layout(); } |