I have an NSTextField in a window, created by choosing the "Multi-line label / Wrapping Label" object in IB, and it is sized, fonted and otherwise parameterized to support a stringValue being wrapped when it is long enough to do so.
I want the field to look like this:
and it does look like that... about half of the time. The rest of the time, cocoa shrinks the text, sometimes horrendously, like this:
If you're wondering, that's a point size of 5. It's utterly unreadable and completely absurd.
WHY is cocoa shrinking my text rather than wrapping it? It is almost as if I had "Uses Single Line Mode" clicked... but I do NOT. I have:
Text Field Cell / Uses Single Line Mode == false
Text Field Cell / Layout == Wraps
Behavior == None
Cell / Line Break == Word Wrap
I mentioned that it works half of the time; I mean that I can run the app, open the wind, observe, quit, repeat, over and over... and it sometimes "works" and sometimes doesn't. So on top of everything else, it's the absolute worst thing in the world, it's non-deterministic. I get the same behavior on 0S 10.6 and 10.7, so it must be me somehow.
What am I missing this time ?
I want the field to look like this:
and it does look like that... about half of the time. The rest of the time, cocoa shrinks the text, sometimes horrendously, like this:
If you're wondering, that's a point size of 5. It's utterly unreadable and completely absurd.
WHY is cocoa shrinking my text rather than wrapping it? It is almost as if I had "Uses Single Line Mode" clicked... but I do NOT. I have:
Text Field Cell / Uses Single Line Mode == false
Text Field Cell / Layout == Wraps
Behavior == None
Cell / Line Break == Word Wrap
I mentioned that it works half of the time; I mean that I can run the app, open the wind, observe, quit, repeat, over and over... and it sometimes "works" and sometimes doesn't. So on top of everything else, it's the absolute worst thing in the world, it's non-deterministic. I get the same behavior on 0S 10.6 and 10.7, so it must be me somehow.
What am I missing this time ?