NSOulineView header cell font

前端 未结 1 1712
隐瞒了意图╮
隐瞒了意图╮ 2021-01-25 17:11

I\'m trying to reduce the font size of the Header Cell in a NSOutlineView (source-list view-based). The problem is that using IB doesn\'t work for me (both modifyin

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-25 17:52

    These steps solved the problem.

    1) Select the NSOutlineView in IB.

    2) In the Size Inspector select Automatic for Size Style. If it is already selected, deselect and select it again (XCode bug?)

    Now you can modify the font for the NSTextFieldCell (Header Cells and Data Cells) using IB.

    0 讨论(0)
提交回复
热议问题