GeeCON Prague 2014*
The moose likes JavaFX and the fly likes Why size of one tree cell is so big when its graphic is ProgressIndicator? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JavaFX
Bookmark "Why size of one tree cell is so big when its graphic is ProgressIndicator?" Watch "Why size of one tree cell is so big when its graphic is ProgressIndicator?" New topic
Author

Why size of one tree cell is so big when its graphic is ProgressIndicator?

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Hello!

I create TreeItem with graphic as ProgressIndicator whose max size is 16x16.

But my TreeItem appears to be bigger with empty space around graphic and label, approximately 32px in height.

Why is TreeItem size expanded when I set graphic as ProgressIndicator? But if I set normal graphic then size of TreeItem is ok.
How to control max height of TreeItem ?

Here is the image :


[treeView.PNG]



True person is moral, false is right!
 
GeeCON Prague 2014
 
subject: Why size of one tree cell is so big when its graphic is ProgressIndicator?