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

DetailLabel and TitleLabel layout is NOT set well #479

@PCBZ

Description

@PCBZ

For the setting constraints of detailLabel or titleLabel,
` if ([self canShowDetail]) {

        [subviewStrings addObject:@"detailLabel"];
        views[[subviewStrings lastObject]] = _detailLabel;
        
        [self.contentView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-(padding@750)-[detailLabel(>=0)]-(padding@750)-|"
                                                                                 options:0 metrics:metrics views:views]];
    }`

the leading and trailing constraints priority are not .default as 1000, which make our label will be exceed the superView.
Could we set it to 1000 from 750 ?

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