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-13294] new clipChildren property #2781
Conversation
…t init. And then it allows to set it through property Conflicts: iphone/Classes/TiUIView.m
Conflicts: android/titanium/src/java/org/appcelerator/titanium/view/TiUIView.java
Misses proper documentation for the new property. |
} | ||
} else if (key.equals(TiC.PROPERTY_CLIP_CHILDREN)) { | ||
if (nativeView instanceof TiCompositeLayout) { | ||
boolean clip = TiConvert.toBoolean(proxy.getProperty(TiC.PROPERTY_CLIP_CHILDREN)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why newValue is ignored ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oups! my bad, will correct that right away
Removed lines of code from another pull request. sorry :s
Code reviewed. APPROVED |
Thanks @mstepanov for taking the time to look at this. I think it can be a great addition |
Functional test PASSED on iOS. FAILED on Android. |
I fixed the testcase, i was working with kitchensink :s sorry Now you are right something is wrong with the android impl. I thought it would be pretty easy but it wasnt. Also i have read on stackoverflow that i might have to set clipChildren for all parents! Will look into it |
…e how to achieve it. Conflicts: android/titanium/src/java/org/appcelerator/titanium/view/TiUIView.java
Ok so sadly i had to remove the android implementation. I cant seem to find a way to do that. |
i just found out about 2 lines that could be a problem on ios https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiUIView.m#L533 will comment them |
We definitely need clipping in both these cases. |
thanks @mstepanov will try this |
Input from @ayeung @billdawson @DizzyMonkey needed |
@mstepanov sorry i didnt see the comment about documentation. Will add it. |
a note on this one |
any news on this? I added the documentation |
Apologies for the late update. We are tentatively considering this for 3.3.0. |
@farfromrefug |
I have seen your PR, very nice @vishalduggal |
jira ticket