Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
mike_howles4
Active Contributor

Have a 4K monitor?  Running on a Macbook Retina Display in a Windows VM?  Are your toolbars microscopic, or fonts ridiculously large in attempts to compensate?  Read on!

Problem in a screenshot:

Retina Display sized screen.  Canvas and APS are very small at Design Time.  Also, toolbar is very small.

In VMWare, one thing I tried was to turn off Retina Display but that ended up making everything too big.  (900px horizontal if I recall)

This same problem is also present in Eclipse, so I did some research, I get these results.  (Steps follow)

Same resolution, after tweaking some settings:

How I did it:

I found this post related to NetBeans Eclipse explaining the same problem: HiDPI with Eclipse and NetBeans - JAXenter

How to make it work for Design Studio:

  1. 1) Open Regedit, and create a Registry Key (DWORD type) for

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest

    and set the value to 1

  2. Create the following 2 files in C:\Program Files\SAP BusinessObjects\Design Studio\jre\bin:
    • javaw.exe.manifest
    • SAPDesignStudioVM.exe.manifest

  3. Make the file contents of both of these files as follows:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
    <description>eclipse</description>
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"
                               level="asInvoker"
                               ms_asmv3:uiAccess="false">
                </requestedExecutionLevel>
            </requestedPrivileges>
        </security>
    </trustInfo>
    <asmv3:application>
        <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
            <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
        </asmv3:windowsSettings>
    </asmv3:application>
</assembly>

That's it!

PS. You can use the same trick for your Eclipse SDK setup by placing same file contents in your eclipse directory with filename exclipse.exe.manifest

PPS. If you are an SDKer and want Design Studio to have these benefits from launching Eclipse, this is how I set up a JRE config in Eclipse:

(This is the reason for the javaw.exe.manifest file mentioned in step 2)

8 Comments
Labels in this area