Color fixups for Windows

.. tested on Windows 8.
.. still needs foxus rectangle on the search box
   in Mac to be drawn properly.
This commit is contained in:
Mark Liversedge
2013-04-07 13:34:56 +01:00
parent 66e352f483
commit 7ca5bd2338

View File

@@ -78,7 +78,11 @@ SearchBox::SearchBox(MainWindow *main, QWidget *parent)
"}"
"QLineEdit#SearchBox:focus {"
" border-radius: 10px; "
#ifdef WIN32
" border: 1px solid rgba(%2,%3,%4,255);"
#else
" border: 2px solid rgba(%2,%3,%4,255);"
#endif
" padding: 0px %5px;"
"}"
).arg(clearButton->sizeHint().width() + frameWidth + 12)