Skip to content

Instantly share code, notes, and snippets.

@gekitz
Created August 3, 2013 08:57
Show Gist options
  • Save gekitz/6145781 to your computer and use it in GitHub Desktop.
Save gekitz/6145781 to your computer and use it in GitHub Desktop.
Auto Layout Question
What I want to have is the following layout
-5-[label with flexible width]->=5-[uiimageview with fix width]-5-
the problem is the >= 5 in the middle is always treated as a 5 instead of a flexible width which should be bigger than 5.
My visual constraint looks like this:
@"|-(5)-[_usernameLabel]-(>=5)-[_userImageView(34)]-5-|"
Anyone any ideas how to achive the layout I want?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment