[_initWithoutGModel] make the size label non-selectable.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8511 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-01-08 17:29:13 +00:00
parent f5cce03392
commit 485b84e393

View file

@ -405,10 +405,12 @@ float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0,
// label for selection of size
label = [[NSTextField alloc] initWithFrame: l3];
[label setFont: [NSFont boldSystemFontOfSize: 0]];
[label setFont: [NSFont titleBarFontOfSize: 0]];
[label setAlignment: NSCenterTextAlignment];
[label setDrawsBackground: YES];
[label setBezeled: YES];
[label setEditable: NO];
[label setSelectable: NO];
[label setTextColor: [NSColor windowFrameTextColor]];
[label setBackgroundColor: [NSColor controlShadowColor]];
[label setStringValue: @"Size"];