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
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: ImageView and ScrollView problem

All your outer containers should use HorizontalAlignment.Fill and VerticalAlignment.Fill.

 

Container {
    horizontalAlignment: HorizontalAlignment.Fill
    verticalAlignment: VerticalAlignment.Fill
}

 If you use a layout different than StackLayout it could also cause problems. If you do not define a layout then StackLayout is used by default.