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.
Description: Reproducible wih FCS Steps: - Create Project - Add some panel component(Grid, Group or Layout) - clear its style property - Open stylesheet.css file and add new style class or copy this: .panelSize { background-color : aqua; top:0px; left :0px ; width : 500px ; height : 600px ; position: absolute; } - Switch to designer and set styleClass property of the panel component to this created class Result: only color will be changed Workaround: still it could be setted via style property
All are the components issue (you can find out after the steps done and once they rendered [not as expected] by Ctrl-Shift-F2 which dumps into console how they are rendered): 1) Group panel: it respects the style class set (via the styleClass property), but it does set default size (that way blocking the one specified in the sheet). 2) Layout panel: the same like group panel 3) Grid panel: it is the worst, it doesn't even respect the class attribute set via styleClass property. Passing to components.