Bug 83014

Summary: ScrollPaneSolver#solve never uses the available width as hints
Product: [Tools] GEF Reporter: Pratik Shah <ppshah>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Pratik Shah CLA 2005-01-17 14:48:48 EST
It always gets the preferred size assuming that scrollbars are present.  As a 
result, it's determination of whether scrollbars are needed or not can be 
incorrect.

Instead it should assume that the scroll bar visibility will not change for 
the current control, and later re-calculate the preferred size, if needed.
Comment 1 Randy Hudson CLA 2005-01-17 14:53:26 EST
The solver doesn't have the current visibility info.  It could be passed as 
additional params.

Another option is to be pessimistic and assume scrollbars are required, but if 
its close also check if they aren't needed.