Landscape RadListPicker's Popup doesn't consider semi-opaque system tray

Thread is closed for posting
2 posts, 0 answers
  1. slimCODE
    slimCODE avatar
    1 posts
    Member since:
    Jul 2007

    Posted 20 Aug 2012 Link to this post

    We have a portrait + landscape page with a semi-opaque SystemTray. When a RadListPicker opens a popup in landscape, items in the list are still using a left margin of 24, putting them under the SystemTray. If the user taps somewhere in the first 72 pixels, it doesn't select the item, instead shows the SystemTray elements.
  2. Victor
    Victor avatar
    1358 posts

    Posted 21 Aug 2012 Link to this post

    Hi Martin,

    Thanks for writing.
    The issue with the transparent system tray is a little trickier than normal. From the popup perspective it is difficult to determine how much to offset the popup content when a semi-opaque system tray is present.

    Consider for example the case where the popup always takes into account the system tray regardless of its opacity and offsets the content accordingly. Now the fact that the system tray is semi-opaque makes no sense, there is no information to be seen under the system tray because everything has been moved out of the way.

    Another case is where the user has modified the PopupItemTemplate to have some margin that is appropriate with any system tray configuration. In this case, if we offset the content, the items will have an even greater margin which is not what the user intended because the items were fine in the first place.

    With that said, I suggest that you define two item templates with appropriate margins and switch them dynamically whenever your page changes orientation.

    Please write again if you need assistance with anything else.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top