I would like to shorten the length of the line used to show the colour of a displayed object (e.g. a TH1D) inside a TLegend. I found TLegendEntry, which has a method .SetMarkerSize(), but this seems to only apply to the point markers of e.g. functions. How can I have shorter, more compact lines inside the legend?