Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set width of tabPanel problem

 
Radu Mircea
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

I use a tabPanel and i could not control its width, it is expanding outside of my page , it has many tabs headers with text.
I tryed to access its width to set it to a fix dimension like:

Code:

<rich:tabPanel switchType="ajax" width="100px">



but it disconsider this, can be text from tabs a problem ?

Also i tryed to include the tabPanel inside of a panelGrid with a fixed width but also the result was negative and my tabPanel goes outside of the page.

Code:

<h:panelGrid width="100px" columns="1">
<rich:tabPanel switchType="ajax" width="100px">



If you have an ideea please help me.

Thanks,
Radu
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are scroll bars not appearing at all?

-Cameron McKenzie
 
Radu Mircea
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

Thanks a lot for the message.
The problem was that the tabPanel goes outside of the page , in width because text in written in tab headers was too long, but now we reduce that text and tabPanel came at a reasonable width.

Regards,

Mircea
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic