asales Expert Licensed User Longtime User Feb 14, 2015 #1 I have a image with 600x450 pixels and I want to display only 300x450 (right or left) of this image in a imageview. If I click in button1 it shows 300x450 (left part) of image; if I click in button2 it shows 300x450 (right part) of image. How can I do this (directly, without crop and save the image)? Thanks in advance for any tip.
I have a image with 600x450 pixels and I want to display only 300x450 (right or left) of this image in a imageview. If I click in button1 it shows 300x450 (left part) of image; if I click in button2 it shows 300x450 (right part) of image. How can I do this (directly, without crop and save the image)? Thanks in advance for any tip.
S sorex Expert Licensed User Longtime User Feb 14, 2015 #2 put the image in a panel that has the size of 300x450 and then change the .left value of the inner image to either 0 or 350 Upvote 0
put the image in a panel that has the size of 300x450 and then change the .left value of the inner image to either 0 or 350
S sorex Expert Licensed User Longtime User Feb 14, 2015 #3 correction... it should be 0 or -350, otherwise you push it to the right and it becomes invisible. Upvote 0