Commit b3e16226 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

sidebar view cell: remove write-only property

parent 3be4c258
......@@ -2,7 +2,7 @@
* VLCSidebarViewCell.h
* VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
* Copyright (c) 2013-2015 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan.org>
......@@ -14,6 +14,4 @@
@interface VLCSidebarViewCell : UITableViewCell
@property (nonatomic, strong) UIImageView *titleImageView;
@end
......@@ -2,7 +2,7 @@
* VLCSidebarViewCell.m
* VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
* Copyright (c) 2013-2015 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan.org>
......@@ -24,9 +24,6 @@
self.selectedBackgroundView = bgView;
self.imageView.contentMode = UIViewContentModeCenter;
self.titleImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 260.0f, 50.0f)];
self.titleImageView.contentMode = UIViewContentModeCenter;
[self.textLabel.superview addSubview:self.titleImageView];
self.textLabel.font = [UIFont fontWithName:@"Helvetica" size:([UIFont systemFontSize] * 1.2f)];
self.textLabel.shadowOffset = CGSizeMake(0.0f, 1.0f);
......@@ -50,7 +47,6 @@
- (void)layoutSubviews {
[super layoutSubviews];
self.textLabel.frame = CGRectMake(50.0f, 0.0f, 200.0f, 50.0f);
self.titleImageView.frame = CGRectMake(0.0f, 0.0f, 260.0f, 50.0f);
self.imageView.frame = CGRectMake(0.0f, 0.0f, 50.0f, 50.0f);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment