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 176386 - PREFERRED_SIZE instead of DEFAULT_SIZE
Summary: PREFERRED_SIZE instead of DEFAULT_SIZE
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks: 136425
  Show dependency tree
 
Reported: 2009-11-10 05:41 UTC by Tomas Mysik
Modified: 2012-06-15 06:14 UTC (History)
0 users

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 Tomas Mysik 2009-11-10 05:41:05 UTC
Steps to reproduce:
- create panel
- put panel in it (resizable in both directions)
- right click > Enclose In > Scroll Pane

PREFERRED_SIZE instead of DEFAULT_SIZE is used for the inner panel in the scroll pane so the whole panel cannot be smaller than the preferred size.

Product Version: NetBeans IDE Dev (Build 091109-1fcc9e16cc96)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-14-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 asenk 2011-10-05 09:07:49 UTC
Still valid

Product Version: NetBeans IDE Dev (Build 201110040601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)
Comment 2 Tomas Pavek 2012-06-12 15:52:39 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/4a8d01718b37
Comment 3 Quality Engineering 2012-06-15 06:14:28 UTC
Integrated into 'main-golden', will be available in build *201206150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4a8d01718b37
User: Tomas Pavek <tpavek@netbeans.org>
Log: #176386: default instead of preferred size should be used for min size of resizing enclosed component