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 94038

Summary: Alignment of the subcomponents in Grid Panel doesn't showed in designtime
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Matthew Bohm <mbohm>
Status: NEW ---    
Severity: blocker CC: alexeybutenko
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2007-02-02 19:39:21 UTC
Reproducible wih FCS

 - 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;
      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


 - 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

still it could be setted via style property
Comment 1 Peter Zavadsky 2007-05-21 14:16:02 UTC
The renderer simply ignores the style property set, and its output is like this
 (for grid panel) for the above case:

Rendered markup design[instanceName=gridPanel1,
<?xml version="1.0"?>
<table class="rave-design-border" id="form1:gridPanel1" style="; width: 96px;
height: 96px;">

Passing back to components.