NSTextField: do not strip trailing spaces while center-aligned

前端 未结 1 752
失恋的感觉
失恋的感觉 2021-01-26 01:34

My crusade against static text NSTextField goes on.

The question for today is: Why do center-aligned NSTextField-s even dare to strip trailing

相关标签:
1条回答
  • 2021-01-26 02:04

    Based on a quick experiment: Select the label field and in the attributes pane change the Layout from Truncates to Scrolls the text should now centre taking into account the trailing spaces.

    Or you can start with an editable text field and turn off the border, draws background and editable behavior settings.

    HTH

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