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

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

@xaphod

Description

@xaphod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions