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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
New Developer
drPetr007
Posts: 14
Registered: ‎10-11-2012
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

Please use plain text.
New Developer
drPetr007
Posts: 14
Registered: ‎10-11-2012
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
Please use plain text.