[NUI] fix font size scale issue in fhub
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 12 May 2023 08:07:31 +0000 (17:07 +0900)
committerBowon Ryu <wonrst22@naver.com>
Fri, 12 May 2023 08:43:47 +0000 (17:43 +0900)
Currently, it is impossible to differentiate between the mobile and common profils.
Until profile differentiation becomes possible,
set the default scale for each profile to 1.

* default font size scale of PROFILE_MOBILE = FontSizeScaleLarge
* default font size scale of PROFILE_COMMON = FontSizeScaleNormal

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

index 1d34cee..1c07c59 100755 (executable)
@@ -1139,7 +1139,9 @@ namespace Tizen.NUI.BaseComponents
         // The following values from 'system-settings/libutil/sstu.c'
         private const float FontSizeScaleSmall = 0.8f;
         private const float FontSizeScaleNormal = 1.0f;
-        private const float FontSizeScaleLarge = 1.5f;
+        // TODO: Profile Separation
+        private const float FontSizeScaleLarge = 1.0f;
+        //private const float FontSizeScaleLarge = 1.5f;
         private const float FontSizeScaleHuge = 1.9f;
         private const float FontSizeScaleGiant = 2.5f;
 #endif