01-19-2011 12:57 AM
in my application i have to add many component on one screen but i not specify the X,Y co-ordinate of the component
so it get overlapped so what is solution for this
Playbook in some senario i able to know which component is added is only know at runtime then how we specify co-ordinate for that and how to align component on the screen
01-19-2011 01:04 AM
Check out the qnx.ui.core package and the classes for containers and container layout:
01-19-2011 01:38 AM
thanx for your reply
now i able to layout the component without giving co-ordinate
but when i have so many component and Playbook width is small so it must be align to next line so how can we achive this
in my app i have 7 to 8 button and i have to align in it in Horizontally right now 2 button is trancated on screen.it should be display in next line.
another layout possible except Horizontal or vertical ?
01-19-2011 01:54 AM
You can do a lot with multiple hierarchical containers and combining horizontal and vertical layout at different levels of the hierararchy - e.g. make two containers with horizontal button layouts and then contain those containers in a higher level container and lay them out vertically, giving you two horizontal rows of buttons.
01-19-2011 01:58 AM
yes that can be possible to align the component
but is there any direct method is available in which container automatically align accordingly screen size ?