Is there a minimum indentationPerLevel of 16?

血红的双手。 提交于 2019-12-12 03:44:46

问题


I've noticed that setting indentationPerLevel to something smaller than 16 doesn't work with NSOutlineView. It always seems to indent by at least 16 pixels. I've tried to set indentationPerLevel to 4, 8, and 12 but the visible indentation is always 16 pixels, although getIndentationPerLevel returns the size I've set it to. The visible indentation, however, always seems to be at least 16 pixels.

An exception is setting indentation to 0. This works and removes the indentation. Setting it to 4, 8, or 12, however, will always result in an indentation of 16 pixels. So could it be that 16 is a minimum here?

来源:https://stackoverflow.com/questions/36063085/is-there-a-minimum-indentationperlevel-of-16

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!