ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

Fix positioning and size of dialogs on smaller screens #354

Closed martinburchell closed 1 month ago

martinburchell commented 1 month ago

Fixes #347 and improves the size and position of the following dialogs for smaller screen sizes both in landscape and portrait orientation:

ProgressBox is only used in the widget test menu

iOS dialogs are no longer displayed fullscreen

On the dialog that appears when the user enters the wrong password I've shortened the verbose Yes/No buttons because they were not readable on smaller screen widths. I've added descriptions for what Yes and No mean.

Tested on iPad, Samsung Galaxy A7, iPhone SE (3rd generation) on simulator and Microsoft Surface 2 in tablet mode.