Dynamic generate layout settings. Add settings for Tree layout