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

MGTableBox toplines/middlelines mix-up #14

Closed
johnrickman opened this issue Oct 9, 2012 · 2 comments
Closed

MGTableBox toplines/middlelines mix-up #14

johnrickman opened this issue Oct 9, 2012 · 2 comments

Comments

@johnrickman
Copy link

So I added two lines to a boxes toplines property. Then I add multiple lines to the middlelines property. Before I add lines to the middlelines property I remove all existing lines. Then I draw the box again to display the changes. But when I do [box.middlelines removeAllObjects]; it also clears the top lines also...but why?

Update: when I check how many items are in the middlelines property, it does say there are two; but I am not adding them to middles lines, only toplines.

@sobri909
Copy link
Owner

Aahh. I couldn't figure out how that could be happening, then I spotted it. There's a typo in MGTableBox.m, line 53. It's returning _topLines instead of _middleLines. I'll submit a patch in a moment.

@johnrickman
Copy link
Author

thanks!

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

No branches or pull requests

2 participants