tabPanel: labelWidth doesn't work in case image inside component.
-----------------------------------------------------------------
Key: RF-3654
URL:
http://jira.jboss.com/jira/browse/RF-3654
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6, IE7, FF, Safari, Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Minor
Step 1. Create tabPanel with image inside:
<rich:tabPanel...
<rich:tab id="tabTwo" label="Tab with image"
disabled="#{tabPanel.disabledTab}">
<f:facet name="header">
<h:outputText value="client switchType from facet" />
</f:facet>
<h:graphicImage value="/pics/masshtaby_01.jpg" width="560"
height="383"></h:graphicImage>
</rich:tab>
...
</rich:tabPanel>
Step 2. Set labelWidth="10".
Step 3. Navigate to page contained tabPanel.
Step 4. Select tab with image.
Step 5. Verify label width.
Actual behavior:
When tab isn't selected label width the same as set in labelWidth attribute.
When you select tab with image - label change it width.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira