If the height is small even if scrolling is enabled, it should be elide. 15/192915/5
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 12 Nov 2018 07:42:09 +0000 (16:42 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Sat, 17 Nov 2018 00:56:13 +0000 (09:56 +0900)
If you do not want to elide, you can use the TextLabel :: Property ::
ELLIPSIS property.
ex) textLabel.SetProperty(TextLabel::Property::ELLIPSIS, false);

sample)
    TextLabel textLabel;
    textLabel = TextLabel::New( "The certificates can be created,
edited, removed, and set as active. The active certificates are used
when packaging your application.");

    textLabel.SetSize( 400, 31 );
    textLabel.SetPosition(10, 390);
    textLabel.SetParentOrigin(ParentOrigin::TOP_LEFT);
    textLabel.SetAnchorPoint(AnchorPoint::TOP_LEFT);
    textLabel.SetProperty(TextLabel::Property::ENABLE_AUTO_SCROLL,
true);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_LOOP_COUNT,
0);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_GAP, 50);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_SPEED, 50);
    textLabel.SetProperty(TextLabel::Property::AUTO_SCROLL_LOOP_DELAY,
1);
    textLabel.SetProperty(TextLabel::Property::POINT_SIZE, 30);
    textLabel.SetProperty( TextLabel::Property::TEXT_COLOR, Color::RED
);

Change-Id: I1b685226cb24aa1d1f1d0ee490db52439f49ccb3


No differences found