Unwanted Scrollbars Keep Appearing

Hello,

I’m developing a PyQt6 application that needs to fit exactly on a 1024x600 pixel screen. Despite setting the window size with setGeometry, unwanted scrollbars keep appearing, which I did not include in the design.
Any suggessions?

For the widget that shows scroll bars do something like this.

self.setVerticalScrollBarPolicy( QtCore.Qt.ScrollBarAlwaysOff )

Also please edit the category, this is no a core dev topic.

1 Like

Thanx dear! I’ll make sure to post in right category. Actually i’m new in this platform, facing little difficulty.