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: 48
Registered: ‎10-11-2012
My Device: Z10
My Carrier: none
Accepted Solution

Nine-slice scaling not working ?!

[ Edited ]

Hello !

I do not know what I am doing wrong. But when I placed Nine-sliced images in the StackLayout they are not scaled properly. (see attachment)

I am using  415x339 images and *.amd files :

#RimCascadesAssetMetaData version=1.0
source: "rect_passive.png"
sliceMargins: 105 105 85 85

Developer
Posts: 48
Registered: ‎10-11-2012
My Device: Z10
My Carrier: none

Re: Nine-slice scaling not working ?!

Solved: minimal image dimensions when nine-slicing works :
min_height=t+b
min_width=l+r
where sliceMargins: l r t b