From: <wel...@us...> - 2009-10-24 20:19:43
|
Revision: 4686 http://planeshift.svn.sourceforge.net/planeshift/?rev=4686&view=rev Author: weltall2 Date: 2009-10-24 20:19:35 +0000 (Sat, 24 Oct 2009) Log Message: ----------- fixed scroolbar in multilinetextbox Modified Paths: -------------- trunk/src/common/paws/pawstextbox.cpp Modified: trunk/src/common/paws/pawstextbox.cpp =================================================================== --- trunk/src/common/paws/pawstextbox.cpp 2009-10-24 20:02:09 UTC (rev 4685) +++ trunk/src/common/paws/pawstextbox.cpp 2009-10-24 20:19:35 UTC (rev 4686) @@ -1301,9 +1301,11 @@ scrollBar = new pawsScrollBar(); scrollBar->SetParent( this ); scrollBar->SetRelativeFrame( defaultFrame.Width() - 40, 6, 24, defaultFrame.Height() - 12 ); + scrollBar->SetAttachFlags(ATTACH_TOP | ATTACH_BOTTOM | ATTACH_RIGHT); scrollBar->PostSetup(); scrollBar->SetTickValue( 1.0 ); - AddChild( scrollBar ); + AddChild( scrollBar ); + pawsWidget::Resize(); } scrollBar->Show(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |