Never mind, I found out how to do it, I had forgotten to cast the
TabDataRenderer to a ButtonDataRenderer.

However, the text is not displayed correctly, I mean it is centered whereas
I want it to be left aligned.
I guess I have to write by ButtonDataRenderer.


lello wrote:
> 
> 
> Greg Brown-2 wrote:
>> 
>>> Second: is it possible to have all the tab buttons with the same size? 
>> 
>> There isn't any way to specify this via TabPane itself, but you could
>> give the tab pane's tab data renderer a fixed preferred width. That
>> should have the same effect.
>> 
>> G
>> 
> Ehm...sorry to ask, but how could I do that? there seems to be now
> setWidth() method in the the tab data renderer.
> 


--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/TabPane-corner-and-button-style-tp2778983p2789439.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to