File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Volodymyr Lysenko
Ranch Hand
Posts: 511
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 :
[Thumbnail for treeView.PNG]
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic