Thanks Sebastian,
Now I understand
Sebastian Werner wrote:
>
> Hi David,
>
> you need to use BorderObject instead of Border if you want to have a
> dependency between the widget and the border. Otherwise the border will
> be applied just once (which is more efficient).
>
--
View this mes
Hi David,
you need to use BorderObject instead of Border if you want to have a
dependency between the widget and the border. Otherwise the border will
be applied just once (which is more efficient).
Sebastian
dperez schrieb:
> Thanks Jim, but I have initially already done so, and doesn't work
Thanks Jim, but I have initially already done so, and doesn't work.
Here is a more complete snippet:
myWidget.setBorder(new qx.renderer.border.Border(1, 'solid', '#000'));
myWidget.getBorder().setRightWidth(20);
Jim Hunter-2 wrote:
>
> Just a guess, but if you had not assigned a border object
Just a guess, but if you had not assigned a border object to the widget then getBorder() is going to return null. When you create the widget, assign a border to it, even if the border has a 0 width. At that point you should be able to set properties of the border.
JimOn 10/31/06, dperez <[EMAIL PRO
Hi,
If I call this:
myWidget.getBorder().setRightWidth(20)
then nothing happens visually, even if I call Widget.flushGlobalQueues().
I wonder why.
Thanks in advance for any light in this area.
Regards
David
--
View this message in context:
http://www.nabble.com/Border-width-tf2544700.html#a