LookAndFeel for margins?


Is there any way to manage geometry (margins, distances between child component…) like colors (I mean similar to the LookAndFeel::findColour mechanism).

In a custom JUCE module (providing a Component with child Components inside) it could be nice to let the user choose the typesetting. Not how things are drawn (LookAndFeelMethods) but how they are disposed.

I could implement my own approach, but i’m curious to know if something already exist for that.

It depends on the component - some widgets have L+F methods to do layout, others don't. There's certainly no global methods like that.

Ok, thanks. Thus i’ll probably use policy-based approach for my own classes.