Open NeverBe opened 13 years ago
SWTableView clips incorrect: SWTableView *scroller = [SWTableView viewWithDataSource:self size:CGSizeMake(1024, 600)]; scroller.direction = SWScrollViewDirectionVertical; scroller.verticalFillOrder = SWTableViewFillTopDown; scroller.delegate = self; scroller.position = ccp(0, 0); // left bottom corner [self addChild:scroller];
Only right part of table visible, if i set size to (1024,1024) the table displayed whole.
Cocos version 1.0.1
What's the size of your cells? This might be the issue.
SWTableView clips incorrect: SWTableView *scroller = [SWTableView viewWithDataSource:self size:CGSizeMake(1024, 600)]; scroller.direction = SWScrollViewDirectionVertical; scroller.verticalFillOrder = SWTableViewFillTopDown; scroller.delegate = self; scroller.position = ccp(0, 0); // left bottom corner [self addChild:scroller];
Only right part of table visible, if i set size to (1024,1024) the table displayed whole.
Cocos version 1.0.1