Announcement

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

    VLayout resize bar click (minimize/restore)

    SmartClient Version: SC_SNAPSHOT-2011-01-06/PowerEdition Deployment (built 2011-01-06)

    IE9

    I have a VLayout.setShowResizeBar(Boolean.TRUE) so the resize bar shows. The behavior is if you click on the resize bar's icon, the entire bar will simply minimize, and if you click again, the resize bar will go back to the original size.

    How can I programmatically emulate this behavior? I would like to control weather or not the reszie bar is open or closed?

    #2
    If you simply call hide() and show() on the component, the resizeBar will react appropriately.

    Comment


      #3
      hide() and show() does just that, thank you.

      I have a resizedHandler registered to the VLayout and I see it getting called when I set the component up (initialization). Now when I click on the resize bar icon (to minimize and restore) my resizedHandler is not getting called? Only when it is dragged for a new size does the resizedHandler get called?

      Is there any way I can hook into the 1-click resize bar show() and hide()?
      Last edited by JLivermore; 11 Mar 2013, 11:04.

      Comment


        #4
        That's expected - hiding is not resizing.

        You can add a visibilityChangedHandler to be notified of hide/show.

        Comment

        Working...
        X