Personally I would build a custom layout manager for this and just use 
components. You can style a button to look like a tooth and then enjoy all 
the benefits of working with components. 
There is a sample of creating your own layout manager in the developer 
guide and I recently did something for maps too: 
https://www.codenameone.com/blog/tip-map-layout-manager.html

You can also use the GUI builder and layered layout to position things, I'm 
not sure which of the two options would be less challenging. 

If I would build a layout manager I'd just determine the position/size of 
each tooth in a virtual coordinate space and then scale the coordinates 
based on the layout (internally that's roughly how layered layout works) 
but you can simplify this a lot by making the constraints the actual tooth 
name when you add the component.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/74894ee6-f88e-4bc9-83fc-0e7774f323de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to