Try replacing
Context2d ctx = vw.getCtx();
int w = vw.getCvs().getCoordinateSpaceWidth();
int h = vw.getCvs().getCoordinateSpaceHeight();
with
Context2d ctx = cvs.getContext2d();
int
May be you are missing ui:field=textBox attribute?
g:TextBox ui:field=textBoxXXX/g:TextBox
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
You do not need to invalidate or refresh your components to make them
updated with your last change.
There must be something wrong with your UI binding indeed. Could you
please post us a snippet of your xml? Which widget do you use to bing
the ui?
--
You received this message because you are
Thanks for responding.
Thanks in advance for any help.
Since I have posed two questions at once, if it's all the same to
everyone, I'd like to focus on my issue with canvas first.
What's goes wrong when I try to make a Canvas part of a view using
uibinder?
If I code something like this, I see
All,
I am attempting to do something that must be very common, but I can't
get it to work. I place either a canvas or a TextBox on the screen
and change it programmatically and my changes don't show up on the
screen.
I am using uibinder. If I give say, my TextBox an initial value