Skip to content

[Visual Bug] Word-wrapping occurs with negative insulin amounts in Bolus Wizard in some instances #3849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pnharris02 opened this issue Feb 24, 2025 · 0 comments

Comments

@pnharris02
Copy link

As noted in #3798, when there is a negative insulin amount involved in the calculations, the "U" after the insulin amount wraps to the next line, in some circumstances.
This occurs on my Pixel 9 Pro with what, I think, was the default font size (though I can't be 100% sure I didn't change it on installation), but can be reproduced/resolved on any device, including Android Studio emulator devices, by adjusting the font size on the device, to anything larger than the 2nd smallest font size (out of 7 available sizes).

The easiest way to reproduce it in emulator is to:

  • open any/generic AVD (eg. medium API 35) and run AAPS (or use your own device)
  • Open the Bolus calculator
  • It is not necessary to have any real SG data or insulin history, just enter a negative correction amount (if necessary) so that there is at least one negative insulin value shown
  • Open the Device UI shortcuts menu/button, and change the font size to anything larger than the 2nd smallest option
  • The changed font size and "U" wrapping can be seen in the underlying AAPS Bolus wizard screen, even without closing the UI menu.

Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant