[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTextField without border
From: |
Andreas Höschler |
Subject: |
NSTextField without border |
Date: |
Sat, 29 Jul 2006 10:24:58 +0200 |
Dear steppers,
I am setting up a textfield as follows:
[_nameField setEditable:YES];
[_nameField setSelectable:YES];
[_nameField setAlignment:NSCenterTextAlignment];
[_nameField setDrawsBackground:NO];
[_nameField setBordered:NO];
[self addSubview:_nameField];
[_nameField setDelegate:self];
On MacOSX I get the expected behaviour. However, on GNUstep the border
is still drawn. See the following screenshot:
http://www.smartsoft.de/Downloads/SOObjectBrowser.png
How do I get rid of the border? Am I missing anything or is this a bug
in GNUstep?
Thanks a lot!
Regards,
Andreas
- NSTextField without border,
Andreas Höschler <=