Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    By default collapsed layout

    Hi,

    I have set layout.setShowResizeBar(true).

    I want layout should come by defauly collapsed, user should explicitly click and open it.

    How can i achieve it?

    #2
    Hi!
    Just to fully clarify: showResizeBar is a property you set on the members of a layout, not on the layout itself, causing them to show the bar allowing you to drag-resize or click to hide/show automatically.

    If you want a member to appear initially hidden, but with a resize bar the user can click to show the member you can just call 'setVisibility(Canvas.HIDDEN)' on the member canvas in addition to setShowResizeBar(true). If you do this before before adding the canvas to the layout (or before the layout is displayed), it'll show up initially hidden or "collapsed", with the bar available as a way to "expand" or show it.

    Regards
    Isomorphic Software

    Comment

    Working...
    X