2010-06-06 3 views
1

의 폭과 높이를 설정 : 나는 항목의 폭과 높이를 설정하는 방법내가 이것을 가지고 TTLauncherItem

_launcherView.pages = [NSArray arrayWithObjects: 
         [NSArray arrayWithObjects: 
         [[[TTLauncherItem alloc] initWithTitle:@"New Note" 
                 image:@"bundle://Icon.png" 
                  URL:@"http://www.google.com/" canDelete:NO] autorelease], 
         [[[TTLauncherItem alloc] initWithTitle:@"To Do Items" 
                 image:@"bundle://Icon.png" 
                  URL:@"http://www.yahoo.com/" canDelete:NO] autorelease], 
         nil], 
         nil]; 

? 모든 항목을 64x64 픽셀로 지정합니다.

감사합니다.

답변

0

등록 된 스타일 시트를 사용하여 항목을 완벽하게 제어 할 수 있습니다. 직접 기본 스타일 시트를 등록한 다음 메소드를 재정의하십시오.

- (TTStyle*)launcherButton:(UIControlState)state;