Tabslider changing width

UI Components for JSF
Post Reply
jasdanh
Posts: 39
Joined: 12 Mar 2010, 23:44

18 Apr 2010, 03:41

I'm trying to change the width for the body of the tab. However when I change the width at <p:tabSlider> it moves only the arrow and not the body of the tab.
How do I change the body of the tab. I tried <p:tab title="Locate O.R. Service" style="width:1500px"> - id didn't work.

Code: Select all

<p:tabSlider  style="position:absolute;top:100px;left:25%;width:1500px;">
			    <p:tab title="Locate O.R. Service" styleClass="width:1500px">
					<h:panelGrid columns="2" style="width:1500px">
						<h:graphicImage value=""></h:graphicImage>
					
					</h:panelGrid>
				</p:tab>
			
				<p:tab title="Locate O.R. Procedure">
					<h:panelGrid columns="2" style="padding:10px;">
						<h:graphicImage value=""></h:graphicImage>
					
					</h:panelGrid>
				</p:tab>
				
				<p:tab title="Locate O.R. Surgeon">
					<h:panelGrid columns="2" style="padding:10px;">
						<h:graphicImage value=""></h:graphicImage>
						
					</h:panelGrid>
				</p:tab>
		 	</p:tabSlider>
Thanks

Jason Hall

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 45 guests