PH widget construction