标题针对华为MateBook14-STS工具栏图标太小问题
华为MateBook14得分辨率:2160 x 1440,缩放布局:150%。可以修改为200%使得sts工具栏变大,但是所有东西都跟着变大很不方便,百度了一下发现了修改办法,特此记录,同样适用于Eclipse、MyEclipse等IDE在高分屏下的显示问题。展示下原sts得图标,工具栏位置特别小,超级费眼睛。
解决办法:
1,打开注册表(win+R快捷键打开运行窗口,输入regedit即可),定位到目录:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide,如下图所示,然后在右边空白处点击右键,选择新建->DWORD(32位)值,名称为PreferExternalManifest,值为1。
2,找到你的安装位置,创建文件:STS.exe.manifest,位置如下图
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MFOfR5pH-1603334470084)(C:\Users\hua’wei\AppData\Roaming\Typora\typora-user-images\image-20201022103655447.png)]
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
<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>