Set panel type