Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 55
Registered: ‎12-04-2012
My Device: Q10
My Carrier: Verizon

Image Crop Slider?

Hi there!

 

Im trying to assign a slider to vertically crop an image, starting from bottom edge and working up. Is there a way to do so? first I tried assigning slider to scaleY on image, but naturally the image just gets squashed. After that I threw the image in a container and used the slider to scaleY of said container but that provided the same result. 

 

another puzzling matter is that when the image does scales smaller, it does not align to the top, which I asigned with "verticalAlignment: VerticalAlignment.Top"... instead it scales inward and, aligned center.. :/ can someone please help? graci

 

-J