1 Reply Latest reply on Jul 14, 2014 11:30 AM by withoutdix

    Dialog borderless and image, bug

    withoutdix

      Adobe Photoshop CC, Windows 7 x64

      Code:

      var w = new Window ("dialog", "", undefined, {borderless: true});
      w.margins = [0, 0, 0, 0];
      
      
      var all = new File(File($.fileName).path + "/photo.png");
      var tt = w.add("image", undefined, all);
      var b = w.add ("button", undefined, "Cancel");
      
      w.show ();
      
      
      
      

      file "photo.png"

      photo.png


      Result:
      2014-07-13_10-43-37.png


      How to get it without a bug?

      Thank you for your time and efforts.