From 7bc77947f6ab37d0d557cc237ab0ecceb2ecbe64 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Mon, 11 Dec 2017 21:28:33 +0100 Subject: Fine tune the position of pictures in the profile Start a new column a little bit earlier otherwise it will get difficult to fit a high number of pictures. Don't put more than ~16 pictures in one column. Signed-off-by: Stefan Fuchs --- profile-widget/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index d6a5f3343..b40980e5f 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -2014,7 +2014,7 @@ void ProfileWidget2::plotPictures() x = timeAxis->posAtValue(offsetSeconds); if (i == 0) y = 10; - else if (fabs(x - lastX) < 4) + else if (fabs(x - lastX) < 3 && lastY <= (10 + 14 * 3)) y = lastY + 3; else y = 10; -- cgit v1.2.3-70-g09d2