NSTokenField token color/control

2009-09-28 Thread JECKER Frédéric
It seems that my last post hooked up somewhere (sorry for the repost) : Hi, Is it possible to control the background color of NSTokenField tokens ? Googling this topic didn't returned me any interesting results. Could anyone give me some urls covering this topic / give me some trails to follow (sub

NSTokenField token color

2009-09-28 Thread JECKER Frédéric
Hi, Is it possible to control the background color of NSTokenField tokens ? Googling this topic didn't returned me any interesting results. Could anyone give me some urls covering this topic / give me some trails to follow (subclass NSTokenField cell ?) Thanks a lot ___

NSScreen Issues

2009-09-27 Thread JECKER Frédéric
Hi, I have a custom NSWindow that I wish to place right under the main screen menubar. In the (id)initWithContentRect: method I use the [[NSScreen mainScreen] visibleFrame] to calculate the origin of my new window. For a 1680x1050 screen resolution, the returned rect is 1676x1028 . When I set my ne

Scrolling a NSTextField

2009-09-25 Thread JECKER Frédéric
Hi, I have an non-editable/selectable NSTextField which content is set programatically (and the field's layout attribute is set to "Scroll"). Now when the field is filled, the overflow text is not displayed despite the "Scroll" attribute. When turning the fied selectable/editable this works fine :