• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Set width of tabPanel problem

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic