Last active
January 28, 2020 10:11
-
-
Save SaiEmaniFlipp/bccf31eb5d516b2c66dd2d11f80021f7 to your computer and use it in GitHub Desktop.
Margin and Padding sample sfml
This file contains hidden or 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
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325"> | |
<head> | |
<!-- styles can control borders, padding, margin, fonts and backgrounds --> | |
<styles> | |
<!-- PADDING AND MARGIN STYLE --> | |
<style id="1" | |
padding="30 -30 30 -30" | |
margin="10 -10 10 -10" | |
/> | |
</styles> | |
</head> | |
<body> | |
<linear-layout width="match-parent" height="wrap-content"> | |
<!-- PADDING MARGIN --> | |
<image width="match-parent" height="wrap-content" style-id="1"> | |
<url-source url="https://dummyimage.com/480x480/000000/ffffff.png%26text=PADDING%2030px%20INSIDE%20AND%20MARGIN%2010px%20OUTSIDE" width="750" height="780"/> | |
</image> | |
</linear-layout> | |
</body> | |
</storefront> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment