Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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: 5000
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
 
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic