Commit de84df61 authored by Filipe's avatar Filipe Committed by Felix Paul Kühne
Browse files

status label: replace hard-coded constant which doesn't work


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 17cfe16f
......@@ -104,7 +104,7 @@
- (CGSize)sizeThatFits:(CGSize)size
{
CGSize textSize = [self.text sizeWithAttributes:self.font.fontDescriptor.fontAttributes];
textSize.width += 16.f; // take extra width into account for our custom drawing
textSize.width += size.height * 4.; // take extra width into account for our custom drawing
return textSize;
}
......
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