Re: Mx: window scrollable by program



On 10/02/13 18:29, Kovesdi Gyorgy wrote:
Yes, get the MxAdjustment from the MxViewport through the MxScrollable
interface, and you can then change the value of the top visible part of
your actor.
Currently i have this:

MxFrame
     |-> MxBoxLayout
         |-> MxScrollBar
         |-> MxViewport
             |-> MxBoxLayout
                 |-> Some actors added here

You don't need a viewport here because MxBoxLayout already implements MxScrollable.

And you can't scroll here because you don't have any scrollview.


At last i could set up the MxScrollBar to work as i needed.
I have problems with MxViewport: i tried to add adjustments but its content is
not displayed yet. Probably other properties must also be set, or i set up the
adjustment incorrectly.
If i replace it with e.g. MxFrame, its content gets visible.
Please help me to set up it.

Regards
Gyorgy Kovesdi





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