NXP-12755: handle dev rendering on layouts and widgets