setScrollable not working for NSTextFieldCell

前端 未结 1 715
[愿得一人]
[愿得一人] 2021-01-25 10:58

I want my each table cell to be scrollable since its editable.I am using

        self.nsChildTextFieldObj = [[NSTextFieldCell alloc] init];
        [self.nsChil         


        
相关标签:
1条回答
  • 2021-01-25 12:03

    I think you can make use of sizeWithFont method.

    Use it with every keypress or upon paste and change the height of self.nsChildTextFieldObj dynamically.

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