update subtext
authorYurii Zinchuk/Tizen Services & IoT (PLT) /SRPOL/Engineer/Samsung Electronics <y.zinchuk@samsung.com>
Wed, 12 Jul 2023 07:46:12 +0000 (09:46 +0200)
committerYurii Zinchuk/Tizen Services & IoT (PLT) /SRPOL/Engineer/Samsung Electronics <y.zinchuk@samsung.com>
Wed, 26 Jul 2023 13:18:00 +0000 (15:18 +0200)
SettingCore/Views/TextListItem.cs

index 113bf130026cc6ec9c15abf7af5b05c1d42695ba..61aff59d3803629b7f928c6f572d5bf6547c6486 100644 (file)
@@ -128,9 +128,11 @@ namespace SettingCore.Views
             {
                 AccessibilityHidden = true,
                 Margin = new Extents(16, 0, 0, 16).SpToPx(),
-                TextColor = SubTextColors.Normal,
+                TextColor = TextColors.Normal,
                 PixelSize = 24.SpToPx(),
                 MultiLine = true,
+                LineWrapMode = LineWrapMode.Mixed,
+                WidthSpecification = LayoutParamPolicies.MatchParent,
             };
 
             Add(primarySubText);
@@ -144,7 +146,7 @@ namespace SettingCore.Views
 
                 primary.TextColor = TextColors.Selected;
                 secondary.TextColor = TextColors.Selected;
-                primarySubText.TextColor = SubTextColors.Selected;
+                primarySubText.TextColor = TextColors.Selected;
             }
             else
             {
@@ -152,7 +154,7 @@ namespace SettingCore.Views
 
                 primary.TextColor = TextColors.Normal;
                 secondary.TextColor = TextColors.Normal;
-                primarySubText.TextColor = SubTextColors.Normal;
+                primarySubText.TextColor = TextColors.Normal;
             }
         }