SmartClient Version: v9.1p_2016-04-15/Pro Development Only (built 2016-04-15)
All browsers
When setting showSelectedIcon to true in an isc.IconButton, the selected icon does not appear when the button is selected. In an isc.Button, this property successfully works. Looking into it further, the "getTitle" is being called which sets the icon property to null. When the icon is changed to a selected state, it uses the icon property to check if it should add an icon suffix (in this case it is "Selected"). But since it is null, it will not append the icon suffix. How could we get this behaviour functioning on the IconButton?
All browsers
When setting showSelectedIcon to true in an isc.IconButton, the selected icon does not appear when the button is selected. In an isc.Button, this property successfully works. Looking into it further, the "getTitle" is being called which sets the icon property to null. When the icon is changed to a selected state, it uses the icon property to check if it should add an icon suffix (in this case it is "Selected"). But since it is null, it will not append the icon suffix. How could we get this behaviour functioning on the IconButton?
Code:
isc.VLayout.create({ members: [ isc.IconButton.create({ showFocusedAsOver: false, showButtonTitle: false, showIcon: true, width: 20, height: 20, icon: "http://www.google.com/favicon.ico", actionType: "checkbox", showSelectedIcon: true }) ] });
Comment