[NUI] set default value for AutoScroll in TextLabel
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 7 Jul 2022 06:28:17 +0000 (15:28 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 12 Jul 2022 02:41:27 +0000 (11:41 +0900)
NUI TextLabel no longer use dali-theme.
So set default values in NUI theme.
This values are the same as the values in prev dali-theme.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/public/Theme/DefaultThemeCommon.cs

index 7a63ef0..6a87fd7 100644 (file)
@@ -42,6 +42,9 @@ namespace Tizen.NUI
                 PixelSize = 24,
                 TextColor = new Color(0.04f, 0.05f, 0.13f, 1),
                 FontStyle = new PropertyMap().Add("weight", new PropertyValue("regular")),
+                AutoScrollLoopCount = 2,
+                AutoScrollGap = 50.0f,
+                AutoScrollSpeed = 80,
             });
 
             // TextField style.