UI Nits: Move searchbox toolbutton

.. to the right 2 pixels on Windows/Linux
   Seems obsessive but if I'm gonna look at this for the
   next year I want it to be perfect.
This commit is contained in:
Mark Liversedge
2013-04-06 15:36:25 +01:00
parent 5ffe31bf4c
commit fc6e4cd215

View File

@@ -92,7 +92,11 @@ void SearchBox::resizeEvent(QResizeEvent *)
int frameWidth = style()->pixelMetric(QStyle::PM_DefaultFrameWidth);
clearButton->move(rect().right() - frameWidth - sz.width() - 1, 3);
searchButton->move(5, 3);
#ifndef Q_OS_MAC
toolButton->move(15, 0);
#else
toolButton->move(13, 0);
#endif
//container->move(rect().left(), rect().bottom() + 3); // named dialog...
checkMenu();