discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField without border


From: Wolfgang Lux
Subject: Re: NSTextField without border
Date: Sun, 30 Jul 2006 10:40:59 +0200

Fred Kiefer wrote:

Andreas Höschler schrieb:
if you look carefully you will notice that what you see is not a border
but a bezel :-)

[_nameField setBezeled: NO];

Should do the trick. The interesting question is now, where the
difference to MacOSX comes from. On GNUstep text fields have bezeled
borders by default.

Thanks, this did the trick!

 Not sure if this is true for MacOSX as well.

I know it is off by default. :-)


OK, so any opinions on what we should do in GNUstep? What was the
default for OpenStep and does MacOSX really have border and bezel off by
default?

No. Andreas is wrong here. The OS X defaults are just the same as in
GNUstep, i.e., text fields have bezel on and border off by default.
However, if you invoke setBordered on a cell, it will invoke
setBordered:NO for the receiver and vice versa.
http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSCell_Class/index.html#//apple_ref/doc/uid/ TP40004017

Regards
Wolfgang





reply via email to

[Prev in Thread] Current Thread [Next in Thread]