I would like to implement the Component::Positioner class to… well, position a component dynamically. However, I can’t find any examples of an implementation and use of this class in the JUCE Examples folder or elsewhere. A basic example would go a long way to explaining the API and design for this class.
One use I hope to achieve is for a Component::Positioner to center a component on a certain coordinate, then stretch its height and width to specified values. Is this a good use-case for Component::Positioner? Of course, i can manually do this in the parent component, but it seems like better architecture to offload Component positioning algorithms to this class.
Any advice or examples appreciated!