MojoX – ScrollView for displaying large images

About Monkey 2 Forums Monkey 2 Programming Help MojoX – ScrollView for displaying large images

This topic contains 3 replies, has 3 voices, and was last updated by  Mark Sibly 2 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6098

    Ratchet
    Participant

    I want to add a ScrollView to my App to display large images. For example the main window is only 1280 x 800 but the image is 1920 x 1080. But how to set the ScrollView’s inner size to scroll?

    Are there any more mojox samples then the calculator and Ted2?

    #6100

    codifies
    Participant

    There could be loads more mojox examples, and I’m not sure I’d be satisfied, if you get a solution be sure to post it here…

    #6108

    Ratchet
    Participant

    The trick is to create a view, set its MinSize/MaxSize properties and pass it to the ScrollView:

    #6121

    Mark Sibly
    Keymaster

    Mojox is missing an image view – here’s a quick replacement for now:

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.