View Full Version : Invalid Stylesheet
antweb
13th April 2015, 06:46
background-color: rgb(179, 179, 179);
QPushButton:pressed{background-color: rgb(200, 200, 200); }
Gives me invalid stylesheet. Why?
Lykurg
13th April 2015, 20:08
Hi,
you can't use not scoped and scoped information together. So you also have to put the first information into a scope as well:
QPushButton{ background-color: rgb(179, 179, 179); }
QPushButton:pressed{background-color: rgb(200, 200, 200); }
Cheers
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.