mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Add minimum column size for NSBrowser inspector ( improve it with a slider ? )
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21460 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d4c198bfb
commit
050eaff97b
1 changed files with 6 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
|||
{
|
||||
id optionMatrix;
|
||||
id tagField;
|
||||
id minColumnWidth;
|
||||
}
|
||||
|
||||
- (void) _getValuesFromObject: (id)anObject;
|
||||
|
@ -88,6 +89,10 @@
|
|||
{
|
||||
[object setTag:[[tagField cellAtIndex:0] intValue]];
|
||||
}
|
||||
else if ( control == minColumnWidth )
|
||||
{
|
||||
[object setMinColumnWidth:[minColumnWidth intValue]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) _getValuesFromObject: anObject
|
||||
|
@ -113,6 +118,7 @@
|
|||
[optionMatrix selectCellAtRow: 5 column: 0];
|
||||
|
||||
[[tagField cellAtIndex:0] setIntValue:[anObject tag]];
|
||||
[minColumnWidth setStringValue:[NSString stringWithFormat:@"%i",[anObject minColumnWidth]]];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
|
Loading…
Reference in a new issue