View Full Version : Change background for Widget by StyleSheet, buttons doesn’t show 3D frame.
Kevin Hoang
20th March 2010, 14:30
QWidget {
background: rgb(8, 8, 8);
}
somebody help me!
Lykurg
20th March 2010, 16:25
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".
Kevin Hoang
21st March 2010, 08:20
Thank you!
It works fine. If I use the StackedWidget, the designer doesn't show correct.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.