> On Jan 5, 2016, at 6:25 AM, Joakim Bygdell <[email protected]> wrote:
> 
> Due to the small screen of mobile devices,
> the positions of the temperature graph and the dive computer name
> needs to be shifted upwards a bit to prevent them from overlapping with the
> time axis.
> 
> Signed-off-by: Joakim Bygdell <[email protected]>
> ---
> profile-widget/profilewidget2.cpp | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/profile-widget/profilewidget2.cpp 
> b/profile-widget/profilewidget2.cpp
> index 63ce51f..5e69d2e 100644
> --- a/profile-widget/profilewidget2.cpp
> +++ b/profile-widget/profilewidget2.cpp
> @@ -426,7 +426,7 @@ void ProfileWidget2::setupItemSizes()
> 
>       // Temperature axis config
>       itemPos.temperature.pos.on.setX(3);
> -     itemPos.temperature.pos.on.setY(60);
> +     itemPos.temperature.pos.on.setY(50);

Should that change be SUBSURFACE_MOBILE specific as well? I know that we
fiddled with this a long time to make things work for most dives on the desktop
version - I'm a bit hesitant to just change this unless that has received some
intense testing on the desktop and is deemed overall an improvement.

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to