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-15629-Set optionLeft and optionRight only if it is not set #4994

Merged
merged 2 commits into from Dec 2, 2013

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Nov 19, 2013

@pingwang2011
Copy link
Contributor

Code reviewed and functionally tested. Accepted

@ghost ghost assigned pingwang2011 Nov 19, 2013
params.optionLeft = new TiDimension(5, TiDimension.TYPE_LEFT);
params.optionRight = new TiDimension(5, TiDimension.TYPE_RIGHT);
if (params.optionLeft == null) {
params.optionLeft = new TiDimension(5, TiDimension.TYPE_LEFT);
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 take this opportunity to move the '5' out as a constant, maybe call it 'defaultOptionUnit'.

pingwang2011 added a commit that referenced this pull request Dec 2, 2013
TIMOB-15629-Set optionLeft and optionRight only if it is not set
@pingwang2011 pingwang2011 merged commit f8d9ea2 into tidev:master Dec 2, 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

3 participants