Win a copy of Design for the Mind this week in the Design forum!
  • 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
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for treeView.PNG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic