mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
[_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:
parent
f5cce03392
commit
485b84e393
1 changed files with 3 additions and 1 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue