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
Developer
bbquincar
Posts: 301
Registered: ‎08-14-2012
My Carrier: Rogers
Accepted Solution

Rectangle icons in gridlayout qml

I'm trying to duplicate the rectangle icons found on the home screen of BB10 in a grid format. Right now I have a flat image of gird with my icons (no distinguishable area) and would like to see the boxed while on top of my background colour. how would this be done in cascades qml. Thanks

Read up on BlackBerry news and QML/C++ tutorials
Check out www.twocasualcoders.com | never casual on quality .....

1 - click to all things Berry & easy share actions. Check out Launch Codes for BlackBerry 10! Find it at Launch Codes for BlackBerry **UPDATED** Get it now.....
Please use plain text.
Developer
bcs925
Posts: 212
Registered: ‎07-13-2012
My Carrier: T-Mobile

Re: Rectangle icons in gridlayout qml

You could use use ListView with the grid layout.  Then use custom components for the list items.  You should be able to set a background color of each item (transparent gray), have an ImageView and Label on top of that.  Finally, have a background (anything of your chosing) for the whole Page... this piece would be independent of the ListView.

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Please use plain text.
Developer
bbquincar
Posts: 301
Registered: ‎08-14-2012
My Carrier: Rogers

Re: Rectangle icons in gridlayout qml

[ Edited ]

ok sounds good im going to try this toinght , ill reply back soon. thanks

 

**update worked thanks***

Read up on BlackBerry news and QML/C++ tutorials
Check out www.twocasualcoders.com | never casual on quality .....

1 - click to all things Berry & easy share actions. Check out Launch Codes for BlackBerry 10! Find it at Launch Codes for BlackBerry **UPDATED** Get it now.....
Please use plain text.