The Wayback Machine - http://web.archive.org/web/20201201133836/https://github.com/Blackjacx/Source/issues/30
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 Fix Cells LayoutMargins #30

Closed
Blackjacx opened this issue Sep 3, 2020 · 0 comments
Closed

🚨 Fix Cells LayoutMargins #30

Blackjacx opened this issue Sep 3, 2020 · 0 comments
Assignees
Labels
bug

Comments

@Blackjacx
Copy link
Owner

@Blackjacx Blackjacx commented Sep 3, 2020

Expected behaviour

Remove from adjustCellSeparatorInsets(...):

        // explicitly setting cell's layout margins
        directionalLayoutMargins = insets

to be able to properly use directionalLayoutMargins ✌️

Make sure to use this one again in TableContainer instead of updateCellSeparatorInsets()

Actual behaviour

directionalLayoutMargins are not usable since they are influenced by this setting on the UITableViewCell.

@Blackjacx Blackjacx self-assigned this Sep 3, 2020
@Blackjacx Blackjacx added the bug label Sep 3, 2020
@Blackjacx Blackjacx changed the title Fix Cells LayoutMargins 🚨 Fix Cells LayoutMargins Sep 3, 2020
@Blackjacx Blackjacx closed this in #31 Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.