Hi Andreas, 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. Not sure if this is true for MacOSX as well. Cheers Fred Andreas Höschler schrieb: > 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 > > > > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnustep > > _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
