Re: [gtkmm] TreeView Widget like Qt or Windows?



Andreas B. Thun wrote:

Hi!

My TreeView column takes up too much space
because the children are not displayed under
the Roots, but beside.

Is there a possibility to show a
TreeView like this?:

+ Root-Name
  Child-Name
  Child-Name
+ Root-Name
  Child-Name


columns take up too much space
in standard TreeView (depends on length of Root):

 > Root-Name_1
              Child-Name
              Child-Name
 > Root-Name
              Child-Name

I don't know how you're setting up your TreeView, but my trees always display with children underneath parents, indented slightly (but by a fixed amount, not by the width of tha parent or indeed anything close to it). What you say looks quite a lot like your children are being displayed in another TreeViewColumn.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]