Announcement

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

    Canvas ResizeBar behavior

    We have a VLayout with a resize bar (setShowResizeBar(true)) to resize the content of a canvas. The resize works as expected, but when clicking on the resize bar the panel gets hidden. Is it somehow possible to disable show / hide when clicking on the resize bar and only allow resizing to a min / max width?

    Thank you

    #2
    we have the same problem. is there a solution?

    Comment


      #3
      If you're referring to a situation as we have in the Layout >> Nesting sample, where clicking on the horizontal resize bar hides the "Listing" canvas, you can use the setAutoChildProperties() API to configure the Layout's "resizeBar" autochild with a Splitbar template having Splitbar.canCollapse:true:

      Code:
      Splitbar bar = new Splitbar();
      bar.setCanCollapse(false);
      vLayout.setAutoChildProperties("resizeBar", bar);
      Last edited by Isomorphic; 3 Dec 2018, 16:36.

      Comment

      Working...
      X