# Picture in list only displays half

**URL:** <https://forum.xojo.com/t/picture-in-list-only-displays-half/88561>\
**Category:** macOS\
**Created:** [July 9, 2026, 5:36am UTC](https://forum.xojo.com/t/picture-in-list-only-displays-half/88561 "2026-07-09T05:36:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffery\_Lemons](https://forum.xojo.com/user_avatar/forum.xojo.com/jeffery_lemons/32/1447_2.png) [@Jeffery\_Lemons](https://forum.xojo.com/u/Jeffery_Lemons)\
**Post date:** [July 9, 2026, 5:36am UTC](https://forum.xojo.com/t/picture-in-list-only-displays-half/88561/1 "2026-07-09T05:36:07Z")

</div>

Im using this code to grab a picture file and display it in a listbox. The listbox cell size is 104 x 100. Whenever I scale the image with this code and put it into the listbox, only half the picture displays. the left side of the picture is cut off and about middle way through the picture is what is starting at the 0,0 point. What am I doing wrong?

 ![Screenshot 2026-07-08 at 11.35.49 PM](https://forum.xojo.com/uploads/default/original/3X/4/a/4a7696311d299ae984c9ba39f85403092445d679.png)

```auto
If f <> Nil And f.Exists Then
  Dim pOriginalPicture As Picture = Picture.Open(f)
  Dim pScaledPicture As New Picture(104, 100)
  
  pScaledPicture.Graphics.DrawPicture(pOriginalPicture, 0, 0, 104, 100, 0, 0, pOriginalPicture.Width, pOriginalPicture.Height)
  
  ListBox_Images.RowImageAt(0) = Nil
  ListBox_Images.RowImageAt(0) = pScaledPicture
End If

```

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [July 9, 2026, 6:32am UTC](https://forum.xojo.com/t/picture-in-list-only-displays-half/88561/2 "2026-07-09T06:32:33Z")

</div>

I remember this being a thing from long ago, but I can’t find a feedback case for it. I do remember it being why I always store pictures using `CellTagAt` and draw them myself in `PaintCellBackground` or `PaintCellText`. If there’s some property controlling this behavior, I don’t know what it is and just stuck to my workaround over the years because it gives me more control over how the image is displayed.
