P: ExtendScript 'iconbutton' items disappear on mouse over...

1 Vote
Community Beginner ,
Feb 22, 2017 Feb 22, 2017

Copy link to clipboard

Copied

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.

Bug Won't fix
TOPICS
macOS , Windows

Views

28

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 Comment
Adobe Employee ,
Feb 23, 2017 Feb 23, 2017

Copy link to clipboard

Copied

LATEST
Hi,

We've received a report for this. One possible workaround is to specify the image for all states of the button like this:

dlgMain.btnMirror = dlgMain.grpExportPaths.add('iconbutton', undefined, ScriptUI.newImage(iconImageMirror, iconImageMirror, iconImageMirror, iconImageMirror));

Thanks for the report!

Eric

Votes

Translate

Translate

Report

Report