Hi,
I can't seem to understand this. If I pass an empty stylesheet to a QLineEdit, the edit field changes property.
* Try to enter a 'g' in the example included below. The lower part of the 'g' will be invisible.
* Remove the call to setStyleSheet(). The lower part of the 'g' becomes visible.
Qt 4.5.1, Ubuntu 8.04
Best regards,
Mads
Qt Code:
#include <QtGui> #include "lineedit.h" { setStyleSheet(style_sheet); }To copy to clipboard, switch view to plain text mode
Bookmarks