JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
339 stars 337 forks source link

Stats are pushed down on rotate with mini-chart enabled #377

Open LiroyvH opened 2 years ago

LiroyvH commented 2 years ago

When the mini-chart is enabled and you go to landscape and then back to portrait: the statistics area redraws beneath the main menu. Backgrounding the app and then opening it again makes it suddenly jump back up.

iPhone 13 Mini, iOS 16

image

paulplant commented 2 years ago

Interesting. I've never seen that over the last 2 months running this.

Could you show a full-screen screenshot just before, and after, you see this?

Labelling as a bug 👍

LiroyvH commented 2 years ago

@paulplant it actually does it without mini-chart as well I've just noticed. And going to settings and then back to home fixes it as well hehe.

I'll send you some screenshots ~tomorrow~ later today.

paulplant commented 2 years ago

OK, great. It is likely an auto-constraint issue for you guys with tiny weeny screens 😂

If you also disable the statistics and leave just the chart, does it still do it?

LiroyvH commented 2 years ago

@paulplant Yeah so it always does it. I'll do you one better, even with the mini-chart and statistics disabled it still goes bad :P