Hey Chunk -
These are two distinct problems. The problem you are describing is
that the z-order of the subviews of a custom view are reversed at
runtime.
Jon Hess
On Jan 19, 2009, at 11:21 PM, Chunk 1978 wrote:
not sure if it's related to a problem i've recently solved with custom
views:
On 20/01/2009, at 5:21 PM, Chunk 1978 wrote:
not sure if it's related to a problem i've recently solved with custom
views: i was trying to display a label "inside" a button, but the
label wouldn't show when built, only the button. for some sketchy
reason i had to place the label under the but
not sure if it's related to a problem i've recently solved with custom
views: i was trying to display a label "inside" a button, but the
label wouldn't show when built, only the button. for some sketchy
reason i had to place the label under the button in the NIB because
the app build was displayi
On 20 Jan 2009, at 5:29 pm, Joey Hagedorn wrote:
Hm, maybe this is an issue with the custom view in your nib. Perhaps
try putting your text fields inside, say, a borderless NSBox instead?
Hi Joey, yes this seems to be the case. NSBox works OK.
thanks!
--Graham
_
On 20 Jan 2009, at 3:55 pm, Graham Cox wrote:
When my controller tries to set one of the field's values I get
either a EXC_BAD_ACCESS, or an exception that NSData doesn't
implement -setFloatValue:, but at awakeFromNib time I can see the
text field outlets are set and are indeed NSTextField
Graham,
Hm, maybe this is an issue with the custom view in your nib. Perhaps
try putting your text fields inside, say, a borderless NSBox instead?
-Joey
On Jan 19, 2009, at 8:55 PM, Graham Cox wrote:
I'm having trouble setting up a custom toolbar item. It looks like
it should work and
I'm having trouble setting up a custom toolbar item. It looks like it
should work and appears in IB OK but doesn't come up correctly at
runtime. I must be doing something wrong:
The toolbar item consists of a pair of NSTextFields and some labels.
They must be grouped together as a single t