• 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: 512
Eclipse IDE Java
  • 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]
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!