I have a tree which I build dynamically from a database, as each node
is opened. This works 100%. I have both hScrollPolicy and
vScrollPolicy set to auto, but the horizontal scroll bars never
appear. For some of my nodes at the bottom of the tree, the label is
quite long, and the text is just truncated at the righthand edge of
the tree.

When I set hScrollPolicy to on, the scrollbar appears from the very
beginning, and the tree node can be scrolled to display the full text. 

But I have noticed that when I set the tree width quite small
(x="180") even though the horizontal scroll bar appears and works,
some of the node label is truncated from the righthand edge. The
smaller I make the width of the tree, the more the truncation happens,
even though the horizontal scroll bar is shown. It seems that it only
scrolls horizontally a fixed distance, which does not depend on the
width of the label to be shown. The vertical scrollbar scrolls all
the way regardless of the number of nodes displayed in the tree.

Any ideas?

Thank you






Reply via email to