Skip to content

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

Open

Description

@wm-j-ray

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.

Activity

  1. scalessec commented on Apr 5, 2013

    @scalessec
    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...

  2. wm-j-ray commented on May 5, 2013

    @wm-j-ray
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions