[ios] New pro buttons and eye button
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 2 KiB |
|
@ -690,7 +690,7 @@ const long long LITE_IDL = 431183278L;
|
|||
UIButton * toolbarButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 50, 70)];
|
||||
toolbarButton.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin;
|
||||
toolbarButton.maxX = self.view.width;
|
||||
toolbarButton.midY = self.view.height - 35;
|
||||
toolbarButton.midY = self.view.height - 35.5;
|
||||
[toolbarButton addTarget:self action:@selector(toolbarButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
CGFloat tailShift = 7;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
{
|
||||
if (!_buyButton)
|
||||
{
|
||||
UIImage * buyImage = [[UIImage imageNamed:@"ButtonBecomePro"] resizableImageWithCapInsets:UIEdgeInsetsMake(10, 10, 10, 10)];
|
||||
UIImage * buyImage = [[UIImage imageNamed:@"ButtonBecomePro"] resizableImageWithCapInsets:UIEdgeInsetsMake(14, 14, 14, 14)];
|
||||
_buyButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, buyImage.size.width, buyImage.size.height + 6)];
|
||||
_buyButton.titleEdgeInsets = UIEdgeInsetsMake(0, 0, 2, 0);
|
||||
_buyButton.titleLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
|
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.1 KiB |