PDA

View Full Version : TabItem header fixed size?



shu123
22 Oct 2011, 7:15 AM
Hello, I need to add quite big icon to TabItem (kind of 50x50) but seems TabItem header has always fixed height and so cuts my icon out

Tricks like

item.getHeader().setPixelSize(100, 100);
don't help

http://prntscr.com/3map8

Any ideas?

mihaj
13 Nov 2011, 9:01 AM
item.getHeader().setStyleAttribute("width","100px");
item.getHeader().setStyleAttribute("height", "100px");



Its bad hack. But maybe will help you.