Qt Widgets FullScreen Margin

后端 未结 1 603
旧时难觅i
旧时难觅i 2021-01-28 08:02

I want to create a program that loads google in literally full screen, so I achieved opening my qt program in full screen using w.showFullScreen(); and it works per

1条回答
  •  长情又很酷
    2021-01-28 08:36

    Your central widget have a layout. It's possible that you have layoutLeftMargin, layoutRightMargin, layoutTopMargin, layoutBottomMargin with others values than 0 got in you QtDesigner click on your central widget and at the down of you properties set the margins to 0.

    0 讨论(0)
提交回复
热议问题