Re : @ImageOptions [Solved]

2011-06-22 Thread Hilco Wijbenga
On 21 June 2011 18:56, Thomas Broyer wrote: > Could it rather be about how you *use* the ImageResource? > See http://code.google.com/p/google-web-toolkit/issues/detail?id=6145 Ah, good call. And I even remember looking at those issues. This should really be flagged by the compiler. Anyway, for a

Re : @ImageOptions

2011-06-21 Thread Thomas Broyer
Could it rather be about how you *use* the ImageResource? See http://code.google.com/p/google-web-toolkit/issues/detail?id=6145 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.googl

@ImageOptions

2011-06-21 Thread Hilco Wijbenga
Hi all, I've been using @ImageOptions to scale (PNG) images. This mostly worked in GWT 2.2 but now that I've moved to GWT 2.3 most images fail quietly and don't display (meaning that src="#" instead of the inlined image at runtime). public interface MyResources

Re: set @ImageOptions in uibinder possible?

2010-12-28 Thread Thomas Broyer
You can use @ImageOptions values in UiBinder using the flipRtl and repeatStyle attributes of ui:image (e.g. ), but note that no-repeat (RepeatStyle.None) is the default. As for the color, maybe try a separate background-color:#DCDCDC property. -- You received this message because you are

set @ImageOptions in uibinder possible?

2010-12-28 Thread asianCoolz
in my uibinder, i have css look like below background: #DCDCDC url(images/imagetest.png); background: url(images/test2.png) no-repeat i want to use @sprite css with property gwt-image, but how to set #DCDCDC and no-repeat inside uibinder.xml file directly? is it possible to use @ImageOptions

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
t; > > > > > > On Fri, Oct 29, 2010 at 12:12 PM, Potate wrote: > > oops, forgot to say this is GWT 2.1 RC1 > > > On Oct 29, 12:10 pm, Potate wrote: > > > This seems a bug to me. Can someone help me verify this? > > > > when using a jpg like &g

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread John LaBanca
bug to me. Can someone help me verify this? > > > > when using a jpg like > > @Source("images/Status-Verified.jpg") > > @ImageOptions(width=10) > > public ImageResource OrderStatusVerified(); > > the width parameter seems to have

Re: @ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
oops, forgot to say this is GWT 2.1 RC1 On Oct 29, 12:10 pm, Potate wrote: > This seems a bug to me. Can someone help me verify this? > > when using a jpg like >         @Source("images/Status-Verified.jpg") >         @ImageOptions(width=10) >         public Image

@ImageOptions doesn't resize lossy jpgs?

2010-10-29 Thread Potate
This seems a bug to me. Can someone help me verify this? when using a jpg like @Source("images/Status-Verified.jpg") @ImageOptions(width=10) public ImageResource OrderStatusVerified(); the width parameter seems to have no effect. when using a png like