Option to constrain the size of a MobileContainer

Just starting out? Need help? Post your questions and find answers here.
the.weavster
Posts: 229
Joined: Sat Mar 01, 2014 3:02 pm

Option to constrain the size of a MobileContainer

Post by the.weavster »

Let's say I've developed a web app that's primarily aimed at usage with a smartphone but I'd still like to be able to use it from desktop, I think it would be good if I could state if the screen dimensions > x, y put the MobileContainer in a sized, floating window ( so it's like I'm looking at a phone on my desktop ).

I've tried embedding a MobileContainer in a Window and in a ContainerGadget but I couldn't get either to work.
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Option to constrain the size of a MobileContainer

Post by Fred »

Mobile and regular window are not meant to work together, and I don't think we will support this. you can probably move the top-level mobile gadget into a custom div and apply a max with size to it if you want to retain the mobile look
Post Reply