Skip to content

Commit

Permalink
[NUI] fix DefaultGridItem image to fill available area.
Browse files Browse the repository at this point in the history
  • Loading branch information
everLEEst authored and Seoyeon2Kim committed Dec 20, 2022
1 parent 6859b97 commit c5572bd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ protected override void LayoutChild()
RelativeLayout.SetRightTarget(itemImage, this);
RelativeLayout.SetRightRelativeOffset(itemImage, 1.0F);
RelativeLayout.SetHorizontalAlignment(itemImage, RelativeLayout.Alignment.Center);
RelativeLayout.SetFillHorizontal(itemImage, true);
RelativeLayout.SetFillVertical(itemImage, true);

if (itemLabel != null)
{
Expand Down

0 comments on commit c5572bd

Please sign in to comment.