diff --git a/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/data.info b/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/data.info index 744f736a..70a46922 100644 Binary files a/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/data.info and b/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/data.info differ diff --git a/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/objects.gorm b/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/objects.gorm index 163fe0eb..a47a7e52 100644 Binary files a/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/objects.gorm and b/Applications/Gorm/Palettes/2Controls/ControlsPalette.gorm/objects.gorm differ diff --git a/Applications/Gorm/Palettes/2Controls/ControlsPalette.m b/Applications/Gorm/Palettes/2Controls/ControlsPalette.m index ec71922f..1e289d8e 100644 --- a/Applications/Gorm/Palettes/2Controls/ControlsPalette.m +++ b/Applications/Gorm/Palettes/2Controls/ControlsPalette.m @@ -62,16 +62,18 @@ - (void) finishInstantiate { + /* NSView *contents; id v; contents = [originalWindow contentView]; - v = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(73, 159, 70, 22)]; + v = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(70, 159, 75, 22)]; [v addItemWithTitle: @"Item 1"]; [v addItemWithTitle: @"Item 2"]; [v addItemWithTitle: @"Item 3"]; [contents addSubview: v]; RELEASE(v); + */ } - (void) willInspectObject: (NSNotification *)notification diff --git a/Applications/Gorm/Palettes/2Controls/GormPopUpButtonAttributesInspector.m b/Applications/Gorm/Palettes/2Controls/GormPopUpButtonAttributesInspector.m index 43f6ca49..86e03b9b 100644 --- a/Applications/Gorm/Palettes/2Controls/GormPopUpButtonAttributesInspector.m +++ b/Applications/Gorm/Palettes/2Controls/GormPopUpButtonAttributesInspector.m @@ -72,6 +72,9 @@ BOOL pullsDown = [[sender selectedCell] tag] == YES ? YES : NO; id selectedItem; id cell = [object cell]; + + NSLog(@"pullDown = %d", pullsDown); + NSLog(@"cell = %@", cell); [object setPullsDown: pullsDown]; selectedItem = [object selectedItem];