Commit 7b9fa84dea83b8af12e00bedba11aeecff724e38
1 parent
ea9873b3
(ArcVisual) Use relative corner radius
Change-Id: I378b21070a7d6e5a876fb65155b8f41c7e317d77
Showing
1 changed file
with
2 additions
and
1 deletions
examples/arc-visual/arc-visual-example.cpp
| ... | ... | @@ -49,7 +49,8 @@ const Property::Value TEXT_BACKGROUND |
| 49 | 49 | { |
| 50 | 50 | { Visual::Property::TYPE, Visual::COLOR }, |
| 51 | 51 | { ColorVisual::Property::MIX_COLOR, Vector4( 0.8f, 0.8f, 0.8f, 1.0f ) }, |
| 52 | - { DevelVisual::Property::CORNER_RADIUS, 10.0f } | |
| 52 | + { DevelVisual::Property::CORNER_RADIUS, 0.5f }, | |
| 53 | + { DevelVisual::Property::CORNER_RADIUS_POLICY, Toolkit::Visual::Transform::Policy::RELATIVE } | |
| 53 | 54 | }; |
| 54 | 55 | |
| 55 | 56 | const Property::Value TRANSITION_ANIMATOR | ... | ... |