v-panel-nocaption default height different from "0px"

I welcome!

Noticed that the panel, if you define it as -


...
 Panel pParams = new Panel();
...

...
.v-panel-nocaption {
    background: url("panel/img/top-right.png") no-repeat scroll right top transparent;
    [color=#f70a0a]
height: 9px;
[/color]
    margin-left: 10px;
}
...

looks like -
11935.png

Perhaps it makes sense to define the default class so? :smiley:


...
.v-panel-nocaption {
    background: url("panel/img/top-right.png") no-repeat scroll right top transparent;
    [color=#ed0d0d]
height: 0px;
[/color]
    margin-left: 10px;
}
...

11936.png

It looks like you have some additional style name / CSS that overrides the panel’s default background image (I can see a light yellow background around the edges of the panel). Without that, the panel should look as designer, having a round border all around it.

I welcome you, Jouni Koivuviita!

Yes, you’re right, I override the background. Thank you very much!