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-14359: Android: First TableViewRow is cut off #4708

Merged
merged 2 commits into from Oct 2, 2013

Conversation

pingwang2011
Copy link
Contributor

@ghost ghost assigned hieupham007 Sep 17, 2013
@@ -478,7 +478,8 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)

// If there is a child view, we don't set a minimum height for the row.
// Otherwise, we set a minimum height.
if (((TableViewRowProxy) item.proxy).hasControls()) {
boolean hasChildView = ((TableViewRowProxy) item.proxy).hasControls();
if (hasChildView) {
content.setMinimumHeight(0);
} else {
content.setMinimumHeight(48);
Copy link
Contributor

Choose a reason for hiding this comment

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

please also take this opportunity to move '48' out as a constant.

@hieupham007
Copy link
Contributor

Code reviewed. Please address comments.

@pingwang2011
Copy link
Contributor Author

Updated. Ready for review.

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Requsst accepted

hieupham007 added a commit that referenced this pull request Oct 2, 2013
timob-14359: Android: First TableViewRow is cut off
@hieupham007 hieupham007 merged commit d99cfb6 into tidev:master Oct 2, 2013
@pingwang2011 pingwang2011 deleted the timob-14359 branch December 3, 2013 18:24
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