Enh(headers): add getSectionWidth method for section header rendering