mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 14:10:44 +00:00
* Palettes/2Controls/GormMatrixAttributesInspector.m: use ok: on end editing of
textfields objects. (ok:): update window content view on object's dimensions changes.
This commit is contained in:
parent
540ce531df
commit
6a460bc582
1 changed files with 4 additions and 3 deletions
|
@ -182,9 +182,10 @@ NSUInteger colsStepperValue;
|
|||
[object addColumn];
|
||||
}
|
||||
}
|
||||
// [object sizeToCells];
|
||||
NSRect oFrame = [[object superview] frame];
|
||||
[object sizeToCells];
|
||||
[object setNeedsDisplay: YES];
|
||||
[[object superview] setNeedsDisplay: YES];
|
||||
[[[object window] contentView] setNeedsDisplayInRect: oFrame];
|
||||
}
|
||||
else if(sender == rowsStepper)
|
||||
{
|
||||
|
@ -302,7 +303,7 @@ NSUInteger colsStepperValue;
|
|||
|
||||
|
||||
/* delegate method for tag Form */
|
||||
-(void) controlTextDidChange:(NSNotification*) aNotification
|
||||
- (void) controlTextDidEndEditing: (NSNotification*)aNotification
|
||||
{
|
||||
[self ok:[aNotification object]];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue