If right side(top-right) of spacer is larger than
parent, change align of spacer.
Then spacer is readjusted only
if hoversel on the left area is smaller than spacer.
Change-Id: I6e6ae3bb22686c9b679b087e5a97f63666a24e78
else
elm_object_signal_emit(sd->hover, "elm,state,align,right", "elm");
- adjusted.w = (parent.x + parent.w) - adjusted.x;
+ // TIZEN_ONLY(20201116): elm_hoversel: Fix spacer size calculation
+ // NOTE: Resize spacer(adjusted) only when left area of spacer is
+ // smaller than size of spacer.
+ if ((adjusted.x + adjusted.w) - parent.x < adjusted.x)
+ //
+ adjusted.w = (parent.x + parent.w) - adjusted.x;
}
}
}