Page 1 of 1

Option to constrain the size of a MobileContainer

Posted: Wed Jun 05, 2024 8:55 am
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.

Re: Option to constrain the size of a MobileContainer

Posted: Wed Jun 05, 2024 9:32 am
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