g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height);
g.setStroke(STROKE);
if (isHorizontal()) {
for (RadComponent child : component.getChildren()) {
Rectangle childBounds = child.getBounds(layer);
<BUG>g.drawLine(childBounds.x + childBounds.width, bounds.y, childBounds.x + childBounds.width, bounds.y + bounds.height);
}</BUG>
}
else {
for (RadComponent child : component.getChildren()) {

g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height);
g.setStroke(STROKE);
if (isHorizontal()) {
for (RadComponent child : component.getChildren()) {
Rectangle childBounds = child.getBounds(layer);
int x = childBounds.x + childBounds.width + ((RadViewComponent)child).getMargins().width;
g.drawLine(x, bounds.y, x, bounds.y + bounds.height);
}
}
else {
for (RadComponent child : component.getChildren()) {
