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.
1. Create project. 2. Add button to the page. 3. Deploy project to GlassFish. Result: Project deployed successfully, but when application is opened in browser button is stretched to the full browser's width.
Is your browser IE7 by any chance?
Yes, browser is IE7 on Windows Vista.
This is an IE 7 browser bug. A bug has been filed again IE 7.
We have tried several fixes but all of them have some side effects. So this bug will not fixed in the component, the fix has to come from IE.Work around is to explicitly set the button width or resize the button on the designer surface (which inturn sets the width).