format widget