widget formatting