今天发现前几天写的代码有一个问题:
窗体最大化时,窗体的状态栏被任务栏盖住了.
查看了源文件发现代码是这样写的:
width = screen.availWidth;
height = screen.availHeight;

修改代码如下:
width = screen.availWidth;
height = screen.availHeight-60;  //减去任务栏的高度 约为60

相关文章:

  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
相关资源
相似解决方案