Reflected Image - I am using the component in a wrong way or you have a bug?

2 views
Skip to first unread message

Vova

unread,
Jul 28, 2010, 9:07:09 AM7/28/10
to GWT-FX
Hello! I have a problem - either I am using the component in a wrong
way
or you have a bug. I need to change the size of ReflectedImage by
clicking a button. There is a code:

final ReflectedImage image = new ReflectedImage ("images/1.jpg");

RootPanel.get().add (image);

Button button = new Button ("button");

RootPanel.get().add(button);

button.addClickHandler (new ClickHandler ()
{

@ Override
public void onClick (ClickEvent event)
{
image.setSize ("75px", "75px");
}
});

Image size is changing, but the size of the reflected part does not!
Why?? I don't know! Help me, please!

Adam T

unread,
Aug 4, 2010, 1:53:58 PM8/4/10
to GWT-FX
Probably a bug - any recommendations on how to fix from anyone are
more than welcome.
//Adam
Reply all
Reply to author
Forward
0 new messages