Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Frame size set to 0,0 when doing everything programatically #8

Open
xaphod opened this issue Jun 5, 2015 · 0 comments
Open

Frame size set to 0,0 when doing everything programatically #8

xaphod opened this issue Jun 5, 2015 · 0 comments

Comments

@xaphod
Copy link

xaphod commented Jun 5, 2015

Please add at least

  • (CGSize)sizeThatFits:(CGSize)size {
    return [_currentLabel sizeThatFits:size];
    }
  • (CGSize)intrinsicContentSize {
    return [_currentLabel intrinsicContentSize];
    }

... as well as this to setText:
[self invalidateIntrinsicContentSize];
[self setNeedsLayout];

... sadly this doesn't fix everything for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant