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 committed Dec 16, 2022
1 parent 5d7e499 commit 09de548
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 09de548

Please sign in to comment.