Announcement

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

    Cursor apperannce on ResizeBar

    Hi,

    I am have property setShowResizeBar(true) on layout,
    I want to change cursor on collpase/expand button on resizebar to hand cursor.

    How can i achieve it?

    #2
    The resizeBar is an autoChild (actually a "multiAutoChild") of the Layout and as such can be customized via setAutoChildProperties().
    It's implemented as a Splitbar instance, which has properties vResizeCursor and hResizeCursor to govern the cursor displayed on rollover.

    Therefore you should be able to do something like this:

    Code:
    Splitbar resizeBarConfig = new Splitbar();
    resizeBarConfig.setVResizeCursor(Cursor.HAND);
    resizeBarConfig.setHResizeCursor(Cursor.HAND);
    myLayout.setAutoChildProperties("resizeBar", resizeBarConfig);
    Regards
    Isomorphic Software

    Comment

    Working...
    X