List of deviations from defaults can perhaps be passed to constructor of
widget as initializer list parameter. Initializer lists are annoyingly
loose but might work in such situation.
Modern GUIs (mobile-app-ready) have gone complex. Designers of GUI expect
CADs. There is always some sort of (hard to read and to merge to repo)
resource script. About the few lucky cases where it has to be built
with code (say for some nifty animation) no one cares how ugly the code
looks. So ... don't worry. ;)