Layout settings per column

Hi there,

I’m currently trying to define settings per column inside a layout.
One idea was to use a structure field in the layout settings to choose different settings per column (settings for column in layout = column in structure field). This is a very hacky solution and has probably a few quirks I don’t know yet.

The other idea was to extend the current LayoutColumn class to have attributes (just like the Layout class) and also extend the panel view for that.
Currently I do not know how to extend “Core” classes by a plugin.

Does someone has an idea how to implement this properly?

Hope you all have a nice weekend,