From 84536c9ba7c1c30bb16384fbf03b909b9eb931fb Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 16 Sep 2022 23:30:59 +0900 Subject: [PATCH] Adjust padding of emoticon layout Change-Id: I7fb0483d1d3ebee65ebc4883f885917911329724 Signed-off-by: Jihoon Kim --- ISEDefaultNUI/EmoticonPage.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ISEDefaultNUI/EmoticonPage.cs b/ISEDefaultNUI/EmoticonPage.cs index eb8e83e..7821cdb 100644 --- a/ISEDefaultNUI/EmoticonPage.cs +++ b/ISEDefaultNUI/EmoticonPage.cs @@ -799,8 +799,8 @@ namespace ISEDefaultNUI private EmoticonGroup currentGroup; private List 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(); -- 2.7.4