Resizable GoShapes w text for floorplan


#1

I am trying to add a feature to a Go application for navigating to diagrams. I use goShapes in a background layer to denote large areas in a floor plan… I would like to add text to the center of these shapes and have the text movable with the shapes as they are resized and moved. Any examples or suggestions would be appreciated.


#2

I’m not sure exactly what behavior you want when shapes are resized, but the easiest thing to try is to create a GoGroup containing a shape and a GoText object. I suppose you’ll want to make the GoText not Selectable, although that isn’t clear from your description.