Randomblue
Randomblue

Reputation: 116283

Resize background color

I have a Windows app for which when the window is quickly made bigger pieces of "whitespace" are temporarily created.

Is there a way to make those pieces of whitespace black?

Upvotes: 0

Views: 134

Answers (1)

Stephen Chu
Stephen Chu

Reputation: 12832

You can set autoFillBackground property of the window and have Qt paint the newly exposed background for you. There are some Windows specific attributes mentioned there, too. Mainly, WA_NoSystemBackground needs to be set to use a different background color.

Upvotes: 1

Related Questions