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

Getter for unimplemented View.center property on Android #3

Closed

Conversation

bvibber
Copy link
Contributor

@bvibber bvibber commented Sep 10, 2010

Patch for: https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1775-tiuiview-center-property-not-implemented-on-android-no-warning-in-documentation

Adds a getter implementation for the View center property, works for me in my ad-hoc testing. As with the size property, I'm letting it just return (0, 0) if the native view hasn't been created; have not tested how that case behaves on iPhone, and the docs don't say.

Documentation isn't clear on whether it should be possible to set the property as well, but as I don't need that for my use case I haven't attempted to implement it.

pingwang2011 pushed a commit to pingwang2011/titanium_mobile that referenced this pull request Jan 10, 2012
TIMOB-6677 Facebook errors with FB.getLoginStatus() being called before FB.init()
jpl-mac referenced this pull request in jpl-mac/titanium_mobile Mar 22, 2012
Initial modifications to SConstruct to add blackberry
This pull request was closed.
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

1 participant