Design Challenge -- Round Corner mask on images
Mark Schonewille
m.schonewille at economy-x-talk.com
Sun Mar 27 18:53:57 EDT 2016
I had a mobile app project where the designers did exactly the same.
They put round corners everywhere, around every element in the app. The
result was a lot of unused space. It was cumbersome and inefficient and
in the end it didn't look well. We decided to use straight corbers and
the app looked a gazillion times better than before.
If you still want this, you can create round rectangles and adjust the
corners dynamically using the roundRadius. Use the rectangles as
backgrounds of groups.
Kind regards,
Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch
Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com
Op 28-Mar-16 om 00:26 schreef Sannyasin Brahmanathaswami:
> Our design team finished a design for a mobile app. The used rounded corners everywhere.
>
> see
>
> http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>
> Something I wished we had in LC for all controls (groups included) is corner radius, but is is only available for graphics objects.
>
>
> set the roundRadius of grc "roundRectAngleButton" to pValue
>
> I'm digging in the forums for info an masks etc... but I'm out of my depth here.
>
> I'm thinking this is probably (I hope) not that hard to implement.
>
> it's obviously easy enough to create a background graphic with round corners, add a small field on the left site that is transparent, lock that, put an image on the right side, make this a small group and give the name of a target and we have a nice cool "button" but how do I get the image in the right half of the group to take the rounded corners of the background graphic?
>
> BR
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list