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 - Alignment of the subcomponents in Grid Panel doesn't showed in designtime
Summary: Alignment of the subcomponents in Grid Panel doesn't showed in designtime
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Matthew Bohm
Depends on:
Reported: 2007-02-02 19:39 UTC by bugbridge
Modified: 2009-05-25 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.