- In some case wrap was not properly working
- The label width should be 1 pixel larger than formattedtext block size
- It is EFL rule
Change-Id: Ie246dd73b678921c3a0c503022c58b3a2c8dc887
-using System;
+using System;
using ElmSharp;
using ELabel = ElmSharp.Label;
using EColor = ElmSharp.Color;
rawSize.Height += verticalPadding;
formattedSize.Height += verticalPadding;
+ // This is the EFL team's guide.
+ // For wrap to work properly, the label must be 1 pixel larger than the size of the formatted text.
+ rawSize.Width += 1;
+ formattedSize.Width += 1;
+
if (rawSize.Width > availableWidth)
{
return new ESize()