Hi,
Is there any way to have different heights for the items of a CustomMenu? Setting the itemHeight on the CustomMenu and not the CustomMenuItem is so unfortunate... I don't understand the design decision.
Thank you!
Hi,
Is there any way to have different heights for the items of a CustomMenu? Setting the itemHeight on the CustomMenu and not the CustomMenuItem is so unfortunate... I don't understand the design decision.
Thank you!
I think it's done that way because they only want two heights, to enforce a somewhat consistent user experience:
- itemHeight, for non-focused items
- focusItemHeight, for the focused item (in the center of the screen)
On very old watches (two generations ago), in native menus, the focused item is usually taller.
Also, note that on newer devices such as 965, there's a fixed-size "highlighter" element, at least in the sim. Haven't tried it on a real device though. The presence of this element means that setting the "wrong" item height will make the menu look weird (it even happens in an SDK sample). I don't know if this is a problem on a real device - I guess it's possible that the element's size will be adjusted on a real device to match focusItemHeight.
On older (but still current) devices, the sim renders a fixed-size vertical line to indicate the focused item (which matches the UX of the native menus). Again it's not clear whether this element's height would change on a real device to match the focusItemHeight, but in the sim it's clearly broken. An additional problem (seen below) is that the line is always white even if the menu background is white.