This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 98739 - Improve auto adjusting of size of the designer
Summary: Improve auto adjusting of size of the designer
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 22:56 UTC by Peter Zavadsky
Modified: 2007-03-22 22:56 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2007-03-22 22:56:15 UTC
Found when fixing issue #91531.

There is problem with current impl of the auto adjusting size, causing unwanted
'jumps' of the component just dragged (moved) within the designer component.
The cause if due to current impl, which is in
DesignerPaneBase.getPreferredSize(). That way the scrollers are not adjusted
accordingly. 

Better would be setting new preferred size via setter, not changing the getter
method, and at the same time adjusting the scrollers (horizontal + vertical)