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.
|Summary:||API: AlignWithResizeAction should check the client areas of widgets|
|Product:||platform||Reporter:||David Kaspar <dkaspar>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
Description David Kaspar 2007-05-31 15:52:57 UTC
The AlignWithResizeAction is aligning a widget to other areas. For that it is using full area of the widget - including the border of the widget. In most cases the border itself is just a resize-handler for users to be to resize widget. Therefore there should be a possibility to align with client-areas (widget boundary without border) of widgets.
Comment 2 David Kaspar 2007-07-26 13:44:17 UTC
A patch has been attached. The patch introduces 4 new methods in ActionFactory for creating align-with move/resize actions with additional "outerBounds" boolean parameter which specifies whether outer or inner bounds (means: bounds or client-area) is going to be checked. Asking for fast API review.
Comment 3 David Kaspar 2007-08-10 09:45:53 UTC
Fixed in main trunk.