mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Correction for bug#15642.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22446 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc7fe09848
commit
edac6ea119
4 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-02-06 21:06 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/3Containers/GormNSTableViewInspector.gorm
|
||||
* Palettes/3Containers/GormTableViewAttributesInspector.m:
|
||||
Correction for bug#15642.
|
||||
|
||||
2006-02-03 21:56 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormScrollViewAttributesInspector.m
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -107,9 +107,17 @@
|
|||
{
|
||||
int numCols = [object numberOfColumns];
|
||||
int newNumCols = [[sender cellAtIndex: 1] intValue];
|
||||
float rowHeight = [[sender cellAtIndex: 0] floatValue];
|
||||
|
||||
// make sure the minimum height doesn't go below 1.
|
||||
if(rowHeight < 1.0)
|
||||
{
|
||||
rowHeight = 1.0;
|
||||
[[sender cellAtIndex: 0] setFloatValue: 1.0];
|
||||
}
|
||||
|
||||
// add/delete columns based on number in #columns field...
|
||||
[object setRowHeight: [[sender cellAtIndex: 0] intValue] ];
|
||||
[object setRowHeight: rowHeight];
|
||||
if(newNumCols > 0)
|
||||
{
|
||||
if(numCols < newNumCols)
|
||||
|
@ -241,5 +249,4 @@
|
|||
{
|
||||
[self ok:[aNotification object]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue