Change background for Widget by StyleSheet, buttons doesn’t show 3D frame.
Code:
background: rgb(8, 8, 8);
}
somebody help me!
Re: Change background for Widget by StyleSheet, buttons doesn’t show 3D frame.
its because your style sheet also affects the background of your buttons. Is it only one specific widget? If so use th # selector with the object name. Or use ".QWidget".
Re: Change background for Widget by StyleSheet, buttons doesn’t show 3D frame.
Thank you!
It works fine. If I use the StackedWidget, the designer doesn't show correct.