[composer] fix vertical spacing of hidden layer title in legend items (fix #9498)
Merge pull request #1180 from nirvn/legend_spacing_fix2

[composer] fix vertical spacing of hidden layer title in legend items (fix #9498)