3 Replies Latest reply on Aug 1, 2017 5:37 AM by pixxxel schubser

    Close button missing CC2017

    Dale_ Level 1

      Hey,

       

      I have been making a few scripts in Photoshop and noticed that when I use a machine running Photoshop CC2017 the Close button is not present. This has been tested on Windows 7 and 10 machines. However, when each machines run CC2014 or 2015, the close button shows.

       

      CC2014 version:

      Capture2.PNG

      CC2017 version:

      Capture.PNG

       

      It seems CC2017 has totally changed the way dialogs are shown.

       

      Does anyone have any advise on putting the "X"/Close button back on dialogs?

       

      I know a workaround of:

      var close = win.add ('button', undefined, "Close"); close.onClick = win.close();

       

      However, this does not look great as it just adds an extra button, I would rather have the button on a dialog level.