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-14144] moved defer control rendering flag to not collide with size property #86
Conversation
Setting top and bottom on the inner label does not expand its parent and places the label on the left instead of centering.
|
Setting the top and bottom of the inner label without a height property makes the parent view's height become FILL
|
Setting the parent view and label to width Ti.UI.SIZE and giving left and right properties to label, makes the parent view tiny and places the label on top. This needs to make the parent view width as big as the label plus the right and left margins.
|
…mobile_blackberry into timob-14144 Conflicts: src/tibb/NativeControlObject.cpp
Margins are broken again on views with SIZE as default. This sample is supposed to grow the view and put a 10 margin on left and right, instead it sizes the view and puts a 10 margin on the left only.
This one is supposed to do the same but on top and bottom. It places the view on top and does not grow to it's bottom margin
This one makes the outer view become FILL, again, and the inner view, the label, have it's margins. The margins are fine, but the outer view should not be height FILL. Change the Label to a View and you will see the correct behavior.
|
These two cases still fail. It is supposed to create a label of width and height SIZE. The parent view is supposed to be bigger by 5 points margins all around
This one makes it fill the screen
Both of these cases need to behave the same. |
The second and last code snippet still fail. Add these lines to the NativeControlObject after line 205 and it will fix the layout
|
Merged. |
No description provided.