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-15099] use default unit for border radius #5310

Closed
wants to merge 1 commit into from

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Feb 3, 2014

Use the default unit for radius.
https://jira.appcelerator.org/browse/TIMOB-15099

@hieupham007
Copy link
Contributor

Please extend this to borderWidth as well.

@salachi
Copy link
Contributor Author

salachi commented Mar 3, 2014

borderWidth is already taken care of.

* @param parent the parent view used for calculation.
* @return the number of pixels.
*/
public double getPixelsRaw(View parent)
Copy link
Contributor

Choose a reason for hiding this comment

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

This method is a duplicate of getPixels(View parent). Couldn't we have just just made that method public?

@vishalduggal
Copy link
Contributor

Changes are also required to the method private void handleBorderProperty(String property, Object value) in TiUIView.java

@vishalduggal
Copy link
Contributor

Code Reviewed. Please address comments

@vishalduggal
Copy link
Contributor

New PR 5521. Closing this.

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