summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2022-09-16 23:30:59 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2022-09-16 23:30:59 +0900
commit84536c9ba7c1c30bb16384fbf03b909b9eb931fb (patch)
tree2c69b7292ffcdd6fb97473523f7a4d86e42aa706
parent9dd0bcdc035719ee7fded76e0481090a72fa8989 (diff)
downloadise-default-nui-84536c9ba7c1c30bb16384fbf03b909b9eb931fb.tar.gz
ise-default-nui-84536c9ba7c1c30bb16384fbf03b909b9eb931fb.tar.bz2
ise-default-nui-84536c9ba7c1c30bb16384fbf03b909b9eb931fb.zip
Adjust padding of emoticon layout
Change-Id: I7fb0483d1d3ebee65ebc4883f885917911329724 Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r--ISEDefaultNUI/EmoticonPage.cs8
1 files 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<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();