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.
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)
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)
Fixed. http://hg.netbeans.org/jet-main/rev/4a8d01718b37
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