ShinobiGrid cell size


#1

Hi,

I have implemented :

- (SGridColRowStyle *)shinobiGrid:(ShinobiGrid *)grid styleForRowAtIndex:(int)rowIndex inSection:(int)sectionIndex {
     SGridColRowStyle *style = [[SGridColRowStylealloc] init];
    style.backgroundColor = [UIColor clearColor];
    if (rowIndex == 0) {
        style.size = [NSNumber numberWithFloat:42];
    } else {
        style.size = [NSNumber numberWithFloat:27];
    }
    return style;

}
 
The problem is that if I add this:
 
SGridCell *cell = [self.gridvisibleCellAtCol:0andRow:self.currentlySelectRow];
 
 in:
 
- (void)shinobiGrid:(ShinobiGrid *)grid didSelectRow:(SGridRow)row
 
and then log in the console the cell characteristics I get:
 
2014-05-27 15:18:23.868 dens.io[6541:60b] Cell x: 1.000000, y: 425.250000 w: 130.600006: h:27.250000
 
 Who do you think changes the cell height to a value different than 27?