0 Replies Latest reply on Nov 17, 2006 1:01 PM by Superflu

    Image popup

    Superflu
      I have a TitleWidow that holds an image. I dont have any problems if the image is smaller than the screen height/width. However, if its bigger that the screen height OR width, I want to scale the image so it fits, while getting the TitleWindow to "shrink" to the image.

      Currently, what i have, is a TitleWindow that checks if the image is bigger than the screen width/height, and if so, it occupies 100% of the screen, while the image occupies 100% of the TitleWindow. The problem with that is that the image scales to fit the TitleWindow, but it leaves wide empty areas on the TitleWindow.