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

Add border width and color #30

Merged
merged 2 commits into from Nov 11, 2016

Conversation

Projects
None yet
2 participants
@WenchaoD
Contributor

WenchaoD commented Nov 10, 2016

Add border with and color

@gliechtenstein

This comment has been minimized.

Contributor

gliechtenstein commented Nov 10, 2016

@WenchaoD This is really cool! I just tried it on my phone, and it works great for label, but for some reason I couldn't get it to work with an image, do you know why?

@WenchaoD

This comment has been minimized.

Contributor

WenchaoD commented Nov 11, 2016

Just tried, and it seems working fine on image in my simulator and iPhone.

image

The configuration is

        {
          "type": "image",
          "url" : "https://pbs.twimg.com/profile_images/557061751150112768/eMwi4Xz2.jpeg",
          "style" : {
              "width" : "200",
              "corner_radius" : "100",
              "border_width" : "3",
              "border_color" : "#FF0000"
          }
        },

@gliechtenstein gliechtenstein merged commit fa00219 into Jasonette:develop Nov 11, 2016

@gliechtenstein

This comment has been minimized.

Contributor

gliechtenstein commented Nov 11, 2016

Got it to work, great! Thanks! 👍👍👍

@gliechtenstein

This comment has been minimized.

Contributor

gliechtenstein commented Nov 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment