mid widget text formatting