Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Did you get this issue? Canvas width problem? RSS

28 replies

Last post May 20, 2011 10:08 AM by notacat

(0)
  • esman

    esman

    Member

    8 Points

    11 Posts

    Re: Re: Did you get this issue? Canvas width problem?

    Jun 28, 2010 06:43 AM | LINK

    Hi Amanda, 

    When this bug would be fix ?  From SL2 to SL4, the bug is still exist. Using scaletransform to zoomin canvas, you will find the same problem orrured. We have wait Microsoft to fix the bug for 2 years.

  • drandion

    drandion

    Member

    23 Points

    19 Posts

    Re: Re: Re: Did you get this issue? Canvas width problem?

    Aug 02, 2010 10:04 AM | LINK

    This problem still appears in Silverlight 4 (see: http://forums.silverlight.net/forums/t/193851.aspx). Please fix it, or at least tell us how to overcome this issue.

  • Kbalz

    Kbalz

    Member

    276 Points

    230 Posts

    Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    Sep 17, 2010 08:32 PM | LINK

    This limitation killed a project for me years ago, seems to be right around the number for Int16. Surprised its still not fixed.

  • TheSteve

    TheSteve

    Member

    8 Points

    7 Posts

    Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    Sep 17, 2010 09:40 PM | LINK

    It's still broken with Silverlight 4 scrollviewers and scrollable textboxes without word wrapping.  

    Since my concern was only with textboxes, the workaround I found is to upgrade to the RichTextBox.  The RichTextBox handles wide spans of text just fine, it appears.

  • oneroan

    oneroan

    Member

    2 Points

    1 Post

    Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    Nov 01, 2010 06:04 AM | LINK

    Was this issue resolved ??

    I had this problem too.

    Pls help us, MSFT!!!

    --
    This is my siganature...
  • r.yahya

    r.yahya

    Member

    6 Points

    59 Posts

    Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    Mar 20, 2011 08:54 AM | LINK

    hi,

    any news??

    Plz help...

     

  • notacat

    notacat

    Member

    81 Points

    17 Posts

    Re: Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    May 03, 2011 07:29 PM | LINK

    I got the same exact issue with Silverlight 4.0.60310.0. The good thing is that it is known issue. But why there is no any fix after some years?

  • AppstilleryAndy

    AppstilleryAndy

    Member

    4 Points

    2 Posts

    Re: Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    May 11, 2011 03:15 PM | LINK

    After much messing about i finally fixed / worked around exactly the same problem. My canvas was not resizing properly sometimes but not always - size doesnt seem to come into it.

    I would change your XAML to remove the Background="Gold" from the Canvas property of cnvTest

    Scaling a canvas with a Background property applied seems to be the issue (for me anway) - ho hum. Im guessing its a bug whereby the fill rendering isnt working properly on a scale. My workaround was to leave the canvas in question transparent and set a background on the Grid behind - seems to be happy with that.

    By the way - my problem/fix was on silverlight for phone WP7

    Cheers

    Andy

  • notacat

    notacat

    Member

    81 Points

    17 Posts

    Re: Re: Re: Re: Re: Re: Did you get this issue? Canvas width problem?

    May 20, 2011 10:08 AM | LINK

    unfortunately it doesn't help if you want to draw something over the canvas. In my case borders have blanks, etc..