So I have to make a reusable window frame which has parts that don’t change (e.g. some background images) or change with parameters and have 3 parts which can be filled with content (e.g. grabbing this window widget and adding buttons to containers). Basically there’s some layout + frames + images that should not be changeable/visible and 3 slots that can be filled with other widgets.
One part of the window is a horizontal box where I would like to add buttons. I can put a named slot inside the horizontal box but it will have only one child - that’s a problem. Or I could make a named slot and expect the user who uses this window widget to remember to put a horizontal box into the named slot and then fill it, but that’s very error prone. Then I need the window widget to be able to reference the horizontal box for script uses - which in the second case is also very error prone - I could find the horizontal box by first child of named slot…
Both of these options are unacceptable - are there any other options to achieve this? I couldn’t find anything regarding this in search engines.
This is in UE4