-
Notifications
You must be signed in to change notification settings - Fork 36
Update video cell appearance #203
Update video cell appearance #203
Conversation
| - (void)setCaption:(NSString *)caption | ||
| { | ||
| self.captionLabel.hidden = !(caption.length > 0); | ||
| BOOL hide = !(caption.length > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just do caption.length <= 0?
| _captionLabel.backgroundColor = [UIColor colorWithWhite:0.2 alpha:0.7]; | ||
| CGFloat labelTextSize = 12.0; | ||
| CGFloat labelHeight = 30.0; | ||
| CGFloat labelMargin = 5.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think according to the designs the label should be 10pt from the right edge and bottom, not 5.
frosty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, @SergioEstevao! The only change I think is needed to match the designs is that the label should be 10pt from the edges?
|
@frosty update according to your comments. |
frosty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!
Fixes #202
Note: this PR doesn't change the position/selection indicator that will a separate PR
To test: