Adjust padding of emoticon layout 18/281418/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 16 Sep 2022 14:30:59 +0000 (23:30 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 16 Sep 2022 14:30:59 +0000 (23:30 +0900)
Change-Id: I7fb0483d1d3ebee65ebc4883f885917911329724
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ISEDefaultNUI/EmoticonPage.cs

index eb8e83e..7821cdb 100644 (file)
@@ -799,8 +799,8 @@ namespace ISEDefaultNUI
         private EmoticonGroup currentGroup;
         private List<int> recentEmoticons;
         private static int pointSize = 16;
-        private static int itemSize = 80;
-        private static ushort margin = 10;
+        private static int itemSize = 76;
+        private static ushort margin = 4;
         private static int portraitRow = 4;
         private static int portraitCol = 7;
         private static int landscapeRow = 3;
@@ -817,10 +817,9 @@ namespace ISEDefaultNUI
             scroll = new ScrollableBase()
             {
                 WidthSpecification = LayoutParamPolicies.MatchParent,
-                SizeHeight = (float)(windowSize.Height * 0.70),
+                SizeHeight = (float)(windowSize.Height * 0.75),
                 ScrollingDirection = ScrollableBase.Direction.Vertical,
                 HideScrollbar = true,
-                Position = new Position(80, 0),
 
                 Layout = new GridLayout()
                 {
@@ -886,6 +885,7 @@ namespace ISEDefaultNUI
                 },
                 WidthSpecification = LayoutParamPolicies.MatchParent,
                 HeightSpecification = LayoutParamPolicies.MatchParent,
+                Padding = new Extents(80, 80, 0, 0)
             };
 
             DisplayCurrentEmoticonGroup();