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
Visitor
netvandal
Posts: 1
Registered: ‎01-11-2013
My Device: Playbook
My Carrier: TIM

simple rectangle in qml

Hi all, I'm trying to port an harmattan QML app.

I heavy use Rectangle that seems in not supported in cascades QML.

What can i use as a replacement? 

 

I've looked on Container but I can't make more container overlap?

 

Thanks

 

Please use plain text.
Developer
javoid
Posts: 189
Registered: ‎11-24-2012
My Device: Dev Alpha B, Bold 9700
My Carrier: NA

Re: simple rectangle in qml

If you use DockLayout you can make a container in the same space as another container.
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: simple rectangle in qml

You can make Containers overlap other ways too. There's an AbsoluteLayout, and even with the default StackLayout you can set the translationX and translationY properties to adjust things. Which is suitable, if any, depends entirely on your unique situation...

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
bobdodd
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Re: simple rectangle in qml

Cascades doen't support many of the Digia QML elements unfortunately. The Cascades  QML elements that you will find are targetted at creating a BB10 look and feel.

 

If you need graphics beyond rectangle, you may find it easier to port your Harmattann app using QTCreator which can be configured to build non-cascades QML for BB10 (but you will need to create your own BB10 look & feel).

 

 

Please use plain text.