Announcement

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

    resizebar gets stuck

    Hi,

    I am using <smartgwt.version>12.1-p20210219</smartgwt.version>

    I have set these properties on Layout:

    layout.setShowResizeBar(true);
    final Splitbar resizeBarConfig = new Splitbar();
    resizeBarConfig.setCanDragResize(false);
    layout.setAutoChildProperties("resizeBar", resizeBarConfig);
    mainLayout.addMember(layout);

    It shows resizebar, i only want expand/collpase functionality of resizebar, not the dragResize functionality.
    So i have set resizeBarConfig.setCanDragResize(false);

    It works fine,it doesnt grags and resize.
    But once in 3-4 trials of dragging it , the resizebar drags and gets stuck(resizeBar2.png)

    Please help me on this.
    Attached Files

    #2
    Drag resizing via a resizeBar is enable by having canDrag set to true on the splitbar rather than canDragResize, so you'd need to set that property to false on your splitbar.
    If the problem persists with that change, please put together a test case demonstrating the problem - we're not seeing it in our testing

    Regards
    Isomorphic Software

    Comment

    Working...
    X