Home > Mobile >  Qt showmaximized maximize window function failure
Qt showmaximized maximize window function failure

Time:02-20

Want mainwindow initial maximize window was used showmaximized () can, don't know what changed places today, after the start window on the left upper corner of the screen, not maximize, (but the top right corner is restore button!) Changed setWindowState maximization function doesn't work, such as Google about only one and I similar problem, but I don't know why,, please answer

CodePudding user response:

https://blog.csdn.net/KayChanGEEK/article/details/77923848

CodePudding user response:

Reference under the

CodePudding user response:

On the first floor of the method is feasible, I also consulted

CodePudding user response:

Set WindowFlags, minimizing the button must be in,

CodePudding user response:

If the first set window size, the setting control may cause the window to redraw (when I set QStatusBar cause the window to redraw), can be set to control, adjust the window size can be normal
  •  Tags:  
  • Qt
  • Related