Browse Source

pad上样式修改

Steven 4 months ago
parent
commit
fc6227efdc

+ 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;