NSTextField in NSWindow using setAlphaValue

  • Hello,

    Archives haven't yielded anything.

    I've got a transparent floating window via the setAlphaValue: method.
    The window contains several NSTextFields, one of which is bound to an
    int value. I noticed that when the binding value is updated, the
    NSTextField redraws with an alpha value of 1. The other static
    textfields in the window do not loose their original opacity (from
    the window).

    The docs say...

    -----------------------
    Views placed on a nonopaque window with a transparent background
    color retain their own opacity. If you want to make the entire window—
    including the title bar and views placed on the window—transparent,
    you should use setAlphaValue:.
    ----------------------

    What would be the best practice way of having the NSTextField
    maintain the same alpha value after updates?

    thanks,

    Jaime Magiera
    Sensory Research
    http://www.sensoryresearch.net
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today