Peter Wone
Peter Wone

Reputation: 18765

ListPicker fullscreen list

In my opinion, ListPicker list items are unacceptably small tap targets; certainly their height is smaller than the minimum size recommended by the style guide Microsoft published, and fact that Microsoft has taken to presenting the list full-screen in a much larger font suggests that I am not alone in holding this opinion.

I would like to use this full-screen big-font presentation in my own UI designs. I have tried specifying a DataTemplate (as a static resource) but it didn't seem to have any effect, although I'm pretty sure it is processed because when I made a typo in the resource name the compiler complained.

Upvotes: 3

Views: 1605

Answers (2)

Peter Wone
Peter Wone

Reputation: 18765

I was using ListPickerItem objects for the items. This works until there are enough items to trigger Full mode and then it barfs.

If I import the System namespace and use String objects, everything's hunky dory. Supplying a DataTemplate and binding to something also works.

I think I have found a bona fide bug, but one with a trivial workaround: don't use ListPickerItem.

Upvotes: 0

Matt Lacey
Matt Lacey

Reputation: 65564

On what basis do you say that the item tap target size is too small? Is this personal opinion or based on user feedback?

If you don't like default style of the ListPicker then retemplate it.

You can use the ItemCountThreshold property to control whether FullMode is always used or not (set it to 0).

You can also apply a full mode template to increase the touoch target size of what is displayed there.

Upvotes: 2

Related Questions