简体   繁体   English

窗口最大化时的图标非常紧

[英]Very tight icon when window is maximized

I have a Windows application created using QT. 我有一个使用QT创建的Windows应用程序。

My icon in the top left of the window is extra tight when the window is maximized. 当窗口最大化时,窗口左上方的我的图标格外紧。 Actually, on my screen, the logo is cropped. 实际上,在我的屏幕上,徽标被裁剪了。

Below is a screenshot of the problem. 下面是问题的屏幕截图。 (It shows the top left of the screen when the window is maximised; notice there is no padding between the edge of the screen and the logo.) (当窗口最大化时,它显示在屏幕的左上方;请注意,屏幕边缘和徽标之间没有填充。)

在此处输入图片说明

That is the behaviour as designed. 这就是设计的行为。 Here's what my app looks like, for example: 例如,这是我的应用程序的外观:

在此处输入图片说明

If you want to add some padding you'll need to add it to your icon. 如果要添加一些填充,则需要将其添加到图标中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM