Announcement

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

    The states are not getting floated to Img Tag in IconButton

    Hi,

    With SmartGWT version update to 12.1-p20200824.

    I have observed one issue with Using IconButton and grouping them into a group and setting ActionType to Radio.

    Iconbutton.setRadioGroup("proposal-radio-group");
    Iconbutton.setActionType(SelectionType.RADIO);

    Please refer to attached screenshot. When IconButton is selected it gets the class 'iconButtonSelecetd' but the same selcted state is not floated till the img tag.

    In previous version the img tag also gets '_selected' keyword appended to src of img.

    Without '_selected ' state on img the images are not getting upadted and from UI point of view it is nit clear that which IconButton is selcted.

    in 12.1-p20200709 of smartGWT it was working correctly.

    Can you please help in this.
    Attached Files
    Starts
    3 Sep 2020
    Ends
    3 Sep 2020

    #2
    We've made a change to address this for builds dated September 4 and later.

    In the meantime, you should find that calling setShowIcon(true) on your buttons will get things working as they did before, assuming you are already calling setShowSelectedIcon(true), the default for which is false.

    Note that you may notice a missing "selected-focused" border for these buttons - we've addressed that too, for builds dated September 4 and later.
    Last edited by Isomorphic; 3 Sep 2020, 01:17.

    Comment

    Working...
    X