Compile widgets