浏览代码

pad上样式修改

Steven 6 月之前
父节点
当前提交
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 {
     [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) {
         self.buttonContainer.hidden = NO;