MultiColumnList Font NOT in ListHeaderSegment!

Create issue
Issue #158 resolved
Former user created an issue

Automatic migration. Original reporter: "fooguru"

Font property of a MultiColumnList is not passed on to its child windows ListHeader or ListHeaderSegment. Instead both acquire the default font.

Resulting in a font inconsistency between column headers (i.e. ListHeaderSegment) and row items in MultiColumnList, this can be reproduced by opening the attached .layout in CELayoutEditor 0.5.

A temporary solution is to programmatically equal each ListHeaderSegment font with the parent MultiColumnList:

for (uint i = 0; i < multicollist->getColumnCount(); i++) { multicollist-> getHeaderSegmentForColumn (i).setFont(multicollist->getFont()); }

Reproducibility: always

Comments (1)

  1. Former user Account Deleted

    Original reporter: scriptkid

    Thanks for posting. Fixed in SVN. The suggested loop has been inserted when adding a column, and when changing the MLC´s font. This way the fonts are properly propagated to header segments when loading from a layout, or when changing a font runtine.

  2. Log in to comment