Re: GWT CellList MediaQuery

2015-02-09 Thread Ovidiu Faur
Hey Jens, This code works ok and translates in the .A class (obfuscated) with padding-right:50px; @def PADDING_RIGHT 50px; .cellListEvenItem { padding-right:PADDING_RIGHT; } But this code doesn't modify .A class at all. Can't see what I'm missing @media (max-width: 767px) { .cellListEvenIt

Re: GWT CellList MediaQuery

2015-02-09 Thread Jens
> but I can't figure out how to translate "@media (max-width: 500px) " from > a normal css file. > Just use it directly. @media (max-width: 500px) { ... css classes... } in your *.gss file should work without issues. -- J. -- You received this message because you are subscribed to the G

Re: GWT CellList MediaQuery

2015-02-09 Thread Ovidiu Faur
Ok, I somehow managed to get it to work with a simple @def PADDING_RIGHT 50px; .cellListEvenItem { padding-right:PADDING_RIGHT; } but I can't figure out how to translate "@media (max-width: 500px) " from a normal css file. -- You received this message because you are subscribed to the Go

Re: GWT CellList MediaQuery

2015-02-09 Thread Ovidiu Faur
Also I get some error like: 00:28:23.026 [ERROR] Unable to find 'com/google/gwt/resources/GssResource.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? and yes I included the "" line in my .gwt.xml file -- You received this message becau

Re: GWT CellList MediaQuery

2015-02-09 Thread Ovidiu Faur
I downloaded and followed the installation guide, but I can't seem to figure out how to include the GSS code in MyStyle.css. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it,

Re: GWT CellList MediaQuery

2015-02-09 Thread Ovidiu Faur
Hey Thomas, Thank you for the answer but unfortunately I am still using version 2.6.1. Is there any way with this version? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it,

Re: GWT CellList MediaQuery

2015-02-09 Thread Thomas Broyer
See https://code.google.com/p/google-web-toolkit/issues/detail?id=6920 TL;DR: you have to use GWT 2.7 and GSS. On Monday, February 9, 2015 at 8:34:23 AM UTC+1, Ovidiu Faur wrote: > > Hello, > > I'm wondering if it's possible to use media queries with CellLists. For > example: > > interface MySty

Re: GWT CellList MediaQuery

2015-02-08 Thread Ovidiu Faur
And I use it like new CellList(listCell, (CellList.Resources) GWT.create(MyResources.class)); On Monday, February 9, 2015 at 9:34:23 AM UTC+2, Ovidiu Faur wrote: > > Hello, > > I'm wondering if it's possible to use media queries with CellLists. For > example: > > interface MyStyle extends Styl

GWT CellList MediaQuery

2015-02-08 Thread Ovidiu Faur
Hello, I'm wondering if it's possible to use media queries with CellLists. For example: interface MyStyle extends Style { } public interface MyResources extends Resources { @Source({ Style.DEFAULT_CSS, "MyStyle.css" }) MyStyle cellListStyle(); } And then I have the CellList CSS file "MyStyle.c