View Single Post
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#1
Yup, me again, only this time with the up-to-date PyQt on the N900...

I've had this happen to me twice recently... See the screen below :

Name:  img1.jpg
Views: 919
Size:  24.2 KB

It's a simple PlainTextEdit under a couple of buttons and a Line edit. Right now it looks just fine, if a bit drab.

This is what happens if I add a style to the PTE to make its background-color yellow... just one more line in the UI file :

Name:  img2.jpg
Views: 901
Size:  22.4 KB

Much prettier, but unreadable :-)

Am I doing something stupid ? I already had something similar in another window of the same app - it was a plain, unmodified Line edit that would turn to garbage when the screen was rotated. It finally went away when I removed a splitter that shouldn't have been there anyway.

But there are no splitters in this one, and no rotation either... how can I have my yellow BG please ?...
__________________
maemo blog