cssresource Questions

4

Solved

I have a CssResource where I want to have some of the css classes "mapped" to methods: @ClassName("top-table") String topTable(); But I want to turn off the obfuscation GWT does (while developin...
Sagacity asked 12/5, 2011 at 1:8

4

Solved

I'm looking for a way to do something like this: // style.css @def borderSize '2px'; .style { width: borderSize + 2; height: borderSize + 2; } where the width and height attributes would end ...
Dichy asked 18/6, 2010 at 14:7

3

I'd like to define some colours as constants in a GWT CssResource, and use those constants throughout my application; but I don't know how to do that. I'll tell you what what I've tried. I've crea...
Unlookedfor asked 20/8, 2010 at 17:12

1

Solved

I'd like to say, in a single, centralized location, @def mainColor = #f00; and then, in all of my other css files, refer to mainColor without having to redefine it. Then when I change mainColor ...
Reathareave asked 14/2, 2012 at 21:5

1

Solved

From the following page: Developer's Guide - CSS Style it is made clear that in modern GWT apps there's two ways to declare css styles: Using a CssResource contained within a ClientBundle. Using...
Alphanumeric asked 18/11, 2011 at 13:10

1

Solved

I realize that the CSS parser that GWT uses will only handle CSS2, but I am targeting iPhone Safari, so I want to be able to use some of the CSS3 stuff. For properties, I have been fine using the l...
Dotti asked 13/8, 2010 at 18:20

1

I access the style names through CssResource, either from the UiBinder and from the java views. The problem is I cannot find a way to add and remove suffixes due to the class names obfuscation. By...
Enquire asked 7/4, 2011 at 13:15

1

Solved

I have an Eclipse GWT project with two source folders: One for source code and one for resources. This should and does work fine, but nevertheless Eclipse shows the following error message: Reso...
Breadwinner asked 27/2, 2011 at 6:45
1

© 2022 - 2024 — McMap. All rights reserved.