Thanks Jens!

I actually modified slightly the desktop view to look like the mobile one 
in the particular case I needed which for my use case is actually better, 
but now I know where the property provider lives and how to create one if I 
need to in the future.

On Monday, June 6, 2016 at 3:35:14 PM UTC-6, Jens wrote:
>
> You would need to replace the property provider of MGWT because it only 
> looks at query parameter and user agent:
>
>
> https://github.com/mgwt/mgwt/blob/master/src/main/java/com/googlecode/mgwt/dom/DOM.gwt.xml#L25
>
> To read a meta property you would use 
>
> var formfactorFromMeta = __gwt_getMetaProperty("mgwt.formfactor")
>
> in your custom property provider.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to