-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Image] padding not work #16164
Comments
Add ...
<View
style={{ flex: 1, padding: 10 }}>
<Image
style={{ flex: 1 }}
source={{ uri: 'd7' }}
resizeMode='stretch' />
</View>
... |
@ubatin Yes I know this can do. But I want to know why the padding does not work on ? |
Hi @walfud , Should read before reporting new issues. |
@facebook-github-bot no-template |
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more. |
Environment:
OS: macOS Sierra 10.12.6
Node: 8.6.0
Yarn: 1.1.0
npm: 5.3.0
Watchman: Not Found
Xcode: Not Found
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: 0.48.3 => 0.48.3
====================
I just write the simple code below. The problem is Why the padding in style not work?
This is the result. You can see there is no padding around image.
The text was updated successfully, but these errors were encountered: