8231857: App and Application folder icons are not aligned correctly JDK-8200758-branch
authorherrick
Mon, 14 Oct 2019 14:33:01 -0400
branchJDK-8200758-branch
changeset 58583 b54f1adbf153
parent 58582 558a0842c5aa
child 58584 910b14f4fe3a
8231857: App and Application folder icons are not aligned correctly Submitted-by: almatvee Reviewed-by: aherrick, asemenyuk
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/DMGsetup.scpt
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/DMGsetup.scpt	Mon Oct 14 11:05:39 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/DMGsetup.scpt	Mon Oct 14 14:33:01 2019 -0400
@@ -21,13 +21,13 @@
       set theFilePath to POSIX Path of theFile
       if theFilePath is "/DEPLOY_APPLICATION_NAME.app"
         -- Position application location
-        set position of item theFile of container window to {120, 60}
+        set position of item theFile of container window to {120, 130}
       else if theFilePath is "/DEPLOY_INSTALL_NAME"
         -- Position install location
-        set position of item theFile of container window to {390, 60}
+        set position of item theFile of container window to {390, 130}
       else
         -- Move all other files far enough to be not visible if user has "show hidden files" option set
-        set position of item theFile of container window to {1000, 0}
+        set position of item theFile of container window to {1000, 130}
       end
     end repeat