<g:background> documentation possibly incorrect

The MSDN documentation states that gbackground.width and gbackground.height can be used to scale the imagem, but neither seem to work.

Do they not exist Or is this a bug



Answer this question

<g:background> documentation possibly incorrect

  • stephanielauym

    I also found this issue yesterday :) And I found that style.width/style.height works!

  • justme2005

    Well - it almost works, as I resorted to it as well. There's a bug, you have to reset the src before it resizes. eg:

    gbackground.src = gbackground.src

  • <g:background> documentation possibly incorrect