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 Description (Entry 2): Reproducible using FCS Steps: - Add Grid Panel to Designer - Add 2 hyperlinks to Grid Panel - add "text-align: center;" to style property of the Grid Panel Result: alignment of the components will be affected only in runtime or in preview mode Workaround: still it could be setted via style property
The renderer simply ignores the style property set, and its output is like this (for grid panel) for the above case: Rendered markup design bean=org.netbeans.modules.visualweb.insync.live.FacesDesignBean@311843[instanceName=gridPanel1, instance=javax.faces.component.html.HtmlPanelGrid@15f73d4] <?xml version="1.0"?> <table class="rave-design-border" id="form1:gridPanel1" style="; width: 96px; height: 96px;"> <tbody/> </table> Passing back to components.