mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 09:29:55 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user