The node you are looking for is at Staff notation - Harmonizing bar line thickness for staves with different sizes.