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

An 'on rotation' question ~ not an issue #3

Open
wm-j-ray opened this issue Apr 5, 2013 · 2 comments
Open

An 'on rotation' question ~ not an issue #3

wm-j-ray opened this issue Apr 5, 2013 · 2 comments

Comments

@wm-j-ray
Copy link

wm-j-ray commented Apr 5, 2013

I'm a using CSLinearLayoutView in vertical mode with device in portrait orientation. When I rotate the device to landscape I would like the view(s)/items to expand horizontally, i.e. keeping the same left and right margins they had in portrait.

I've fooled around with the linearLayoutView.autoresizingMask but had no luck. (I'm not even sure I'm looking in the right place)

Can you give me a pointer as to where to start?

Thank you so much for your upload. Very cleverly done.

@scalessec
Copy link
Owner

You're right, this is a bug. The autoresizingMask on the linear layout view itself works as expected, but the layout items' views should respect their own individual autoresizing masks when the fillMode is set to CSLinearLayoutItemFillModeNormal. I'll investigate...

@wm-j-ray
Copy link
Author

wm-j-ray commented May 5, 2013

Anything? Tell me where to start and I'll take a whack at it.
Please let me know if you have any any thoughts as to where I could start to fix this.

Thanx in advance.

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

No branches or pull requests

2 participants