bakground color inherited from background widget PyQT5 Designer
-
wrote on 3 Nov 2022, 12:44 last edited by
I opened a new file as QWidget in PyQT5 and put some QPushButtons in it. but by inserting the background into Widget, the same image is also inherited as the background of the button and any other element I try to insert on it. I add this on styleSheet of widget
border-image: url("myUrl");
i also tried with this styleSheet, but the result is not full screen as expected
background-image: url("VolleyBall_Pitch.png"); background-repeat: no-repeat; background-position: center;
-
wrote on 9 Nov 2022, 07:08 last edited by
1/2