I’ve got a question about the TLegend. The constructor sets the header font to 62 to make it bold but SetHeader sets it to the default font. Is this a design choice or an oversight?
I’m using version 4.04/02 but I also see this in the current online source.
[quote]I’ve got a question about the TLegend. The constructor sets the header font to 62 to make it bold but SetHeader sets it to the default font. Is this a design choice or an oversight?
I’m using version 4.04/02 but I also see this in the current online source.
[/quote]
Where do you see this in the source?
[quote]The SetHeader code is here: root.cern.ch/root/html//src/TLeg … :SetHeader
(look for the line ‘first->SetTextFont(GetTextFont()); // default font is TLegend font for the header’)[/quote]
This simply sets the font for the first line of the legend to be the same as
the legend current font. This looks perfectly logical.