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 105400 - FlowLayout does not work correctly with negative location of child widgets
Summary: FlowLayout does not work correctly with negative location of child widgets
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks: 105060
  Show dependency tree
 
Reported: 2007-06-01 14:27 UTC by David Kaspar
Modified: 2007-06-07 12:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2007-06-01 14:27:39 UTC
How to reproduce:
1) Start test.justify.JustifyTest.
2) Drag a top-left corner of blue-bordered widget and move it to the
bottom-right to make the widget smaller.
3) ERROR - the child widget as moved outside of top-left border - but it should
always start from top-left corner of client area of the widget.
Comment 1 David Kaspar 2007-06-01 14:59:21 UTC
Fixed in main trunk. The FlowLayout did not calculate with widget.getBorder
().getInsets ()
Comment 2 David Kaspar 2007-06-07 12:57:18 UTC
FlowLayout.justify method has been reimplemented.