[ios] New pro buttons and eye button

This commit is contained in:
Igor Khmurets 2013-12-06 18:57:05 +03:00 committed by Alex Zolotarev
parent d5b6c9a0fa
commit 66b1eb8842
10 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

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

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB