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
New Contributor
ayazansari
Posts: 8
Registered: ‎03-05-2013
My Device: Tour 9630
Accepted Solution

Scrollable container or Page.

Hi,

 

I am developing BB 10 application using Native SDK.

I have one page with 3 images one below the other that goes beyond the screen size with their actual size. But when i run the application on BB simulator 10 C dev alpha, it crops the images and fits to show oin screen.

 

I want to show scrollable page with actual iage size so that user can see images by scrolling the page.

Please help me how can I set the property to scroll the image or container in my .qml file.

 

Thanks.

 

Developer
Zmey
Posts: 1,512
Registered: ‎12-18-2012
My Device: PlayBook, Z10, DAC

Re: Scrollable container or Page.

Hi,
Put the Container into ScrollView:

Page {
ScrollView {
Container {
...

It's better to ask in Cascades forum.

Andrey Fidrya, @zmeyc on twitter
New Contributor
ayazansari
Posts: 8
Registered: ‎03-05-2013
My Device: Tour 9630

Re: Scrollable container or Page.

Thanks alot...

Will remember it form next time...