dsnallfot / LoopFollowiAPS

A general Follow app for parents of T1D Loop Users
GNU Affero General Public License v3.0
3 stars 0 forks source link

Storyboard label constraints to/maximize input tap area #43

Closed aug0211 closed 7 months ago

aug0211 commented 7 months ago
aug0211 commented 7 months ago

A good option to explore eventually is making the labels ("Bolus", "Carbs", "Fat", etc) tappable themselves - so that when tapped, it activates our text entry fields. This would make each entire row fully tappable.

I have been able to get one field to do this via a hack, by expanding the text entry portion to the "leading" edge of the label field (rather than trailing) - but in all other instances, doing this makes the text area supersede the label and cover it up so it is not readable. Can't figure out why that works only in the one case :)

This is a good compromise for now.

aug0211 commented 7 months ago

Another note - I used the minimum sizes that would fit text for each label, and then added some buffer to round the sizes up.

dsnallfot commented 7 months ago

Just test ran this. Is most definitely good enough. But feel free to explore the tappable labels later on. Nice job!