MxBoxLayout nesting problem



Hi,

 

I have the following window structure:

 

MxFrame

    '-> MxBoxLayout (horizontal)

        |-> MxScrollBar (vertical)

        '-> MxBoxLayout (vertical)

            '-> Some other actors


It works perfectly: i drag the scrollbar and my software scrolls the inner MxBoxLayout vertically.

If i add a new level of boxes:

 

MxFrame

    '-> MxBoxLayout (vertical)

    '-> MxBoxLayout (horizontal)

         |-> MxScrollBar (vertical)

         '-> MxBoxLayout (vertical)

             '-> Some other actors

 

then everything goes wrong: the scrollbar gets too long (lolls out from the screen) and

the inner box (with "some other actors") does not respond to the scroll calls. If i change

the newly added box to horizontal, it works well again.

If i add yet another external box then i found that it work well only if all of the boxes are

horizontal.

 

What can be wrong here?

 

I use the head of Mx from git and Clutter-1.12.2.

 

Regards

Gyorgy Kovesdi

 



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