GH_Panel set MultiLine Data Off

that property is tucked away.
try this
panel.Properties.Multiline = false;