Commit dd108730b18d89c93fc30ad6856d6a1d678fa9c2

Authored by 张旭
1 parent 1980da07

修改Tabbar

LiveVideoCloud/AppCustoms/Main/View/LVCTabBar.m
... ... @@ -49,7 +49,7 @@
49 49 _liveBtn.height = 195 / 3;
50 50  
51 51 CGFloat buttonY = 19 - 3;//19 - 3.5;
52   - CGFloat buttonW = (self.width - 195 / 3)/ 4;
  52 + CGFloat buttonW = (self.width - 195 / 3)/ 2;
53 53 CGFloat buttonH = 30;
54 54  
55 55 NSInteger index = 0;
... ... @@ -57,7 +57,7 @@
57 57 if(subView.class != NSClassFromString(@"UITabBarButton"))continue;
58 58  
59 59 CGFloat buttonX = index * buttonW;
60   - if (index >= 2)
  60 + if (index >= 1)
61 61 {
62 62 buttonX += 195 / 3;
63 63 }
... ...