WP7 ScrollViewer Bug When Content Height > 2000px

后端 未结 2 1314
失恋的感觉
失恋的感觉 2021-01-14 13:05

In my project, I use ScrollViewer to show some long height infomation.

I use like this:


     

        
2条回答
  •  太阳男子
    2021-01-14 14:07

    Max. texture size on WP7 is 2048x2048. The rectangle height exceeds this limit. Once you decrease it below this limit, it starts working.

    This code is better suited to experiments as you can identify bottom border:

    
      
        
          
            
          
        
      
    
    

    Once you increase the Border height, the bottom part will disappear.

    On the other hand, I have to say that this behavior surprises me, too. I would expect that system decomposes large objects into smaller textures, but apparently WP7 designers decided not to do so, but rather manifest UI bug.

提交回复
热议问题