소스 검색

pad上样式修改

Steven 7 달 전
부모
커밋
fc6227efdc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Home/Controller/HomeViewController.m

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Home/Controller/HomeViewController.m

@@ -853,7 +853,7 @@
 
 
 - (void)showButtonMessage {
 - (void)showButtonMessage {
     [self.buttonContainer.buttonContentView removeAllSubViews];
     [self.buttonContainer.buttonContentView removeAllSubViews];
-    CGFloat buttonSpace = (KPortraitWidth - BUTTON_ROWCOUNT * HOME_BUTTONWIDTH) / (BUTTON_ROWCOUNT + 1);
+    CGFloat buttonSpace = (KPortraitWidth - BUTTON_ROWCOUNT * HOME_BUTTONWIDTH) / (BUTTON_ROWCOUNT /*+ 1*/);
     // 添加按钮
     // 添加按钮
     if (self.buttonArray.count) {
     if (self.buttonArray.count) {
         self.buttonContainer.hidden = NO;
         self.buttonContainer.hidden = NO;