Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
23
iphone/Maps/UI/Downloader/Cells/MWMMapDownloaderCellHeader.m
Normal file
23
iphone/Maps/UI/Downloader/Cells/MWMMapDownloaderCellHeader.m
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#import "MWMMapDownloaderCellHeader.h"
|
||||
#import "SwiftBridge.h"
|
||||
|
||||
@implementation MWMMapDownloaderCellHeader
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame
|
||||
{
|
||||
self = [super initWithFrame:frame];
|
||||
if (self)
|
||||
{
|
||||
[self setStyleNameAndApply:@"regular12:blackSecondaryText"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawTextInRect:(CGRect)rect
|
||||
{
|
||||
rect = UIEdgeInsetsInsetRect(rect, UIEdgeInsetsMake(0, 16, 0, 0));
|
||||
rect = UIEdgeInsetsInsetRect(rect, self.safeAreaInsets);
|
||||
[super drawTextInRect:rect];
|
||||
}
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue