I have created some icon buttons like this:
dlgMain.btnMirror = dlgMain.grpExportPaths.add('iconbutton', undefined, iconImageMirror); dlgMain.btnMirror.preferredSize = [22, 22]
dlgMain.btnMirror.helpTip = "Mirror Export directory to Source"
dlgMain.btnMirror. function onMirrorClick() {
//do stuff
}
The icon disappears on mouse hover. Does not happen in CC 2015.5.
Also, changing icons in .onClick() callback causes button not to draw.