Re: Weird bug in IB...

2008-11-13 Thread Sherm Pendley
On Nov 13, 2008, at 1:17 AM, Jean-Nicolas Jolivet wrote: I'm trying to place a label over a TableView and for some reason there's just no way the label will show up once I run the app... In Interface Builder it looks good (basically it's just a label saying Drop your files here...) I made

Re: Weird bug in IB...

2008-11-13 Thread Quincey Morris
On Nov 12, 2008, at 23:24, Jean-Nicolas Jolivet wrote: One quick question, how can I modify my TextView's z-order? I'm looking at NSView's methods but can't seem to find one that does that? (I'm probably just missing it since NSView's got a good bunch of'em!... :) I always did it in IB

Re: Weird bug in IB...

2008-11-13 Thread Uli Kusterer
On 13.11.2008, at 07:17, Jean-Nicolas Jolivet wrote: Any particular reasons why my label will always show up behind my tableview no matter what I do?? The drawing order of sibling views in AppKit was never guaranteed to be well-defined. In plain English that means the only drawing order

Re: Weird bug in IB...

2008-11-13 Thread Jean-Nicolas Jolivet
Correct me if I'm wrong though, but I read that it wasn't a problem anymore in 10.5... can anyone confirm that?? Jean-Nicolas Jolivet On 13-Nov-08, at 6:27 AM, Uli Kusterer wrote: On 13.11.2008, at 07:17, Jean-Nicolas Jolivet wrote: Any particular reasons why my label will always show up

Re: Weird bug in IB...

2008-11-13 Thread Michael Ash
On Thu, Nov 13, 2008 at 11:13 AM, Jean-Nicolas Jolivet [EMAIL PROTECTED] wrote: Correct me if I'm wrong though, but I read that it wasn't a problem anymore in 10.5... can anyone confirm that?? Yes, on 10.5 AppKit allows and guarantees the correct behavior of overlapping sibling views. I'm not

Re: Weird bug in IB...

2008-11-13 Thread Shawn Erickson
On Thu, Nov 13, 2008 at 8:54 AM, Michael Ash [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 11:13 AM, Jean-Nicolas Jolivet [EMAIL PROTECTED] wrote: Correct me if I'm wrong though, but I read that it wasn't a problem anymore in 10.5... can anyone confirm that?? Yes, on 10.5 AppKit allows

Re: Weird bug in IB...

2008-11-13 Thread Michael Ash
On Thu, Nov 13, 2008 at 12:11 PM, Shawn Erickson [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 8:54 AM, Michael Ash [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 11:13 AM, Jean-Nicolas Jolivet [EMAIL PROTECTED] wrote: Correct me if I'm wrong though, but I read that it wasn't a problem

Re: Weird bug in IB...

2008-11-13 Thread Shawn Erickson
On Thu, Nov 13, 2008 at 9:13 AM, Michael Ash [EMAIL PROTECTED] wrote: The documentation is busted. Here's a message from Corbin Dunn stating that they work without layers: Also note Jamie's email about it having issues even 10.5. I am still not sure it works fully as intended (don't have time

Re: Weird bug in IB...

2008-11-13 Thread Jean-Nicolas Jolivet
That was going to be my next point Assuming it has been fixed in Leopard, it is therefore really an IB Bug as I suspected at first?? Anyway, Re-ordering my controls programatically did the trick... however, should I assume that it might not work on Tiger since overlapping view's

Re: Weird bug in IB...

2008-11-13 Thread Andrew Merenbach
Hi. This is correct, as prior to 10.5, clipping among overlapping views was not enforced, and your program's functionality could very well be unpredictable. Best, Andrew On Nov 13, 2008, at 9:31 AM, Jean-Nicolas Jolivet wrote: That was going to be my next point Assuming it

Re: Weird bug in IB...

2008-11-13 Thread Jonathan Hess
There is a bug that causes custom views, the blue ones, to reverse the z-order of their subviews when decoded. You can workaround this by re-ordering the subviews in awakeFromNib, or, you can use an instance of NSView instead of custom view. To create an instance of NSView instead of

Re: Weird bug in IB...

2008-11-13 Thread Jean-Nicolas Jolivet
A that makes perfect sense! I was indeed using a custom view... Thanks for the tip! JNJ On 13-Nov-08, at 1:25 PM, Jonathan Hess wrote: There is a bug that causes custom views, the blue ones, to reverse the z-order of their subviews when decoded. You can workaround this by re-ordering

Re: Weird bug in IB...

2008-11-13 Thread Michael Ash
On Thu, Nov 13, 2008 at 12:18 PM, Shawn Erickson [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 9:13 AM, Michael Ash [EMAIL PROTECTED] wrote: The documentation is busted. Here's a message from Corbin Dunn stating that they work without layers: Also note Jamie's email about it having issues

Re: Weird bug in IB...

2008-11-13 Thread Michael Ash
On Thu, Nov 13, 2008 at 12:31 PM, Jean-Nicolas Jolivet [EMAIL PROTECTED] wrote: That was going to be my next point Assuming it has been fixed in Leopard, it is therefore really an IB Bug as I suspected at first?? Anyway, Re-ordering my controls programatically did the trick... however,

Re: Weird bug in IB...

2008-11-13 Thread Uli Kusterer
On 13.11.2008, at 17:13, Jean-Nicolas Jolivet wrote: Correct me if I'm wrong though, but I read that it wasn't a problem anymore in 10.5... can anyone confirm that?? As I said, layer-backed views. But they're fiddly. Cheers, -- Uli Kusterer The Witnesses of TeachText are everywhere...

Re: Weird bug in IB...

2008-11-13 Thread Ken Ferry
Hey Uli, On Thu, Nov 13, 2008 at 3:48 PM, Uli Kusterer [EMAIL PROTECTED] wrote: On 13.11.2008, at 17:13, Jean-Nicolas Jolivet wrote: Correct me if I'm wrong though, but I read that it wasn't a problem anymore in 10.5... can anyone confirm that?? As I said, layer-backed views. But they're

Weird bug in IB...

2008-11-12 Thread Jean-Nicolas Jolivet
I'm trying to place a label over a TableView and for some reason there's just no way the label will show up once I run the app... In Interface Builder it looks good (basically it's just a label saying Drop your files here...) I made sure I Sent it to front... while sending the table view

Re: Weird bug in IB...

2008-11-12 Thread Graham Cox
On 13 Nov 2008, at 5:17 pm, Jean-Nicolas Jolivet wrote: Any particular reasons why my label will always show up behind my tableview no matter what I do?? Yes, a bug in IB. I've noticed that the Z-order of views in IB is not always (or even very often) honoured correctly, making the

Re: Weird bug in IB...

2008-11-12 Thread Jean-Nicolas Jolivet
Thanks for the info! That's good to know! One quick question, how can I modify my TextView's z-order? I'm looking at NSView's methods but can't seem to find one that does that? (I'm probably just missing it since NSView's got a good bunch of'em!... :) I always did it in IB before