Created
February 16, 2018 05:03
-
-
Save nrlnishan/fc0afe907d0aea75736d9641664c79fa to your computer and use it in GitHub Desktop.
Content Hugging & Compression Resistance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Content Hugging Property: | |
- This priority defines whether the content size should increase beyond its intrinsic size. | |
- Content Hugging :: Content doesnot want to grow. | |
Horizontal Hugging: Higher priority means that content width doesnot want to grow beyond its intrinsic width. | |
Vertical Hugging: Higher priority means that content height doesnot want to grow beyond its intrinsic height. | |
2. Content Compression Resistance | |
- This priority defines whether the content size should decrease beyond its intrinsic size. | |
- Content Compression Resistance :: Content doesnot want to shrink | |
Horizontal Compression Resistance: Higher priority means that the content width doesnot want decrease beyond its intrinsic width. | |
Vertical Compression Resistance: Higher priority means that the content height doesnot want to decrease beyond its intrinsic height. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment