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.
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.
Created attachment 45771 [details] Patch
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.
Fixed in main trunk.