PDA

View Full Version : Style sheet problem



admkrk
7th June 2014, 01:11
Hi,
As an alternative to group boxes, I am try out something like is done here: http://thesmithfam.org/blog/2009/09/18/qt-sidebar-tutorial/.
What I have is OK for a start and looks right in preview mode. When I run it, it looses almost all the formatting on the first page of a stacked widget as you can see in the attached image. The second page renders as expected though. I am not really sure what is causing this problem. My guess is it has something to with the stacked widget. This is all done with Creator and the style sheet is added to the top frame. Any suggestions would be greatly appreciated.

Thanks.

admkrk
7th June 2014, 20:03
I copied the style sheet from Creator to a .qss file and added it as a resource file and that seems to have fixed the problem. I do not know why that would make a difference, but it was the only thing I could think to try that I had not tried already.