locked
PictureBox image as background of a form, not loading correctly (HTC HD2) RRS feed

  • Question

  • Hi,

    I am building an application for an HTC HD2 480x800 resolution device. I am using a picturebox as the background. I have a jpeg image that too is 480x800. Now when i run the application on the device theres this problem with the height of the image. It loads perfectly width wise (i.e 480) but it doesnt load well height wise. the image loads upto 600 height wise and then there is a white space left on the form.

    Thanks,

    Wednesday, August 4, 2010 8:13 AM

Answers

  • If not then try to set the Dock property of your picturebox to Fill
    • Marked as answer by Hassaan_Masood Wednesday, August 4, 2010 9:57 AM
    Wednesday, August 4, 2010 8:50 AM

All replies

  • Is your picturebox in the background docked to fill the screen?
    Wednesday, August 4, 2010 8:49 AM
  • If not then try to set the Dock property of your picturebox to Fill
    • Marked as answer by Hassaan_Masood Wednesday, August 4, 2010 9:57 AM
    Wednesday, August 4, 2010 8:50 AM
  • The dock property was the problem. I set it to Fill and voila!. Thank You.
    Wednesday, August 4, 2010 10:00 AM
  • You're welcome
    Christian Resma Helle - Technical Lead - Commentor A/S
    Wednesday, August 4, 2010 10:33 AM