Code: Select all
<h:outputText
id="txtTplOriginator"
value="TPL-ORIGINATOR"
style="width:240px; padding:0px; margin:0px;"
/>
<p:selectOneMenu
autoWidth="false"
id="cmbTplOriginator"
value="TEST"
style="margin-left:0px; margin-top:0px; width:240px;"
styleClass="hide-label"
>
Code: Select all
.hide-label .ui-selectonemenu-label
{
display: none;
}
when hide-label CSS is NOT activated, the 2 widgets are display on the same line.
When hide-label is used, only the Triangle Icon in a rectangle is displayed, label is hidden.
... but Triangle Icon is displayed 20 or 20 pixel lower that previously when Label is visible.
It is not more aligned with <h:outputText>
Is that a bug ?