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

Timob 11997 Padding on Table View Row #3586

Merged
merged 3 commits into from Jan 8, 2013
Merged

Timob 11997 Padding on Table View Row #3586

merged 3 commits into from Jan 8, 2013

Conversation

nebrius
Copy link
Contributor

@nebrius nebrius commented Dec 13, 2012

No description provided.

_updatePadding: function() {
// Fake padding with a transparent border
this._contentContainer.borderWidth = this._titleLabel. borderWidth =
[this.leftImage ? 5 : 0, this.rightImage ? 5 : 0, 0, 0];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should always set a padding of 5 pixels regardless if there's a left or right image. That's what iOS does.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS creates a lot of padding we don't. Only adding it some of the time makes it consistent with the rest of Mobile Web, even if it is inconsistent with iOS. We can change it once we implement the new theme that includes padding all around.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good point!

@cb1kenobi
Copy link
Contributor

Code reviewed and tested. Request APPROVED.

cb1kenobi added a commit that referenced this pull request Jan 8, 2013
Timob 11997 Padding on Table View Row
@cb1kenobi cb1kenobi merged commit d2a3873 into tidev:master Jan 8, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants