Fix for Pull Down/Pop Up issue, correct issue with adding items

This commit is contained in:
Gregory John Casamento 2024-12-08 11:09:17 -05:00
parent 0867b6bdae
commit 0bd12fd099
2 changed files with 6 additions and 0 deletions

View file

@ -65,9 +65,15 @@
- (void) finishInstantiate
{
NSView *contentView = [originalWindow contentView];
_prototypePopUp = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(71.0, 157.0, 102.0, 24.0)];
[_prototypePopUp addItemWithTitle: @"Item #0"];
[_prototypePopUp addItemWithTitle: @"Item #1"];
[_prototypePopUp addItemWithTitle: @"Item #2"];
[contentView addSubview: _prototypePopUp];
AUTORELEASE(_prototypePopUp);
}
- (void) willInspectObject: (NSNotification *)notification