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 61478 - resizing gap is too large
Summary: resizing gap is too large
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 19:52 UTC by _ gsporar
Modified: 2005-12-09 15:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample output (16.82 KB, image/png)
2005-07-27 19:52 UTC, _ gsporar
Details
sample output (16.84 KB, image/png)
2005-07-27 19:53 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2005-07-27 19:52:13 UTC
I've built a simple Find dialog (see endResult.png).

When the user resizes the dialog by grabbing the right edge and dragging it, the
text field resizes but a gap that is larger than what it should be is displayed
between the text field and the Find Next button (see resize.png).

In the form editor after I changed the text field to be horizontally resizable
(by clicking on the horizontal spring in the floating alignment controller) I
resized the overall dialog by grabbing the right edge and moving it to the left
until it snapped to the correct size (with an appropriate gap between the text
field and the Find Next button).

Interestingly, I can avoid this problem by making just one change during the
laying out of the components.  Notice that the "Match whole word only" checkbox
is aligned with the baseline of the text on the "Cancel" button.  If I instead
align the "Match whole word only" checkbox with the top of the Cancel button,
this problem does not occur: if the user resizes the dialog the correct gap is
shown between the text field and the Find Next button.
Comment 1 _ gsporar 2005-07-27 19:52:43 UTC
Created attachment 23330 [details]
sample output
Comment 2 _ gsporar 2005-07-27 19:53:14 UTC
Created attachment 23331 [details]
sample output
Comment 3 Tomas Pavek 2005-12-09 15:40:33 UTC
I beleive this works fine already (the resizing gaps are eliminated).

Not knowing particular change that fixed it I close as worksforme.