V
V
Vitaly Kuguenko2020-05-05 17:11:02
Python
Vitaly Kuguenko, 2020-05-05 17:11:02

How to fix incorrect background display in PyQt5?

I put a picture background on the widget window
. styleSheet looks like this: background-image: abc123
Nothing else is written

as41Um43Zvc.jpg

After that, all the buttons are broken, and in general, all widgets, on which to put the background as a picture, break the design of other components.

The same bug (or not a bug) with scrollArea and so on.

How to make sure that the picture is on the background and the rest of the design does not float?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2020-05-09
@mrkaban

My interface is saved in a .ui file, and they can be opened with any editor and edited. Surely you can remove the background or the picture altogether.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question