[haiku-commits] Re: haiku: hrev44885 - src/kits/interface

  • From: Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 24 Nov 2012 13:24:26 +0100

On 11/24/2012 03:33 AM, jscipione@xxxxxxxxx wrote:
4807bf0: Move StringItem text over 4 pixels.

   This is so that it does not get draw flush to the edge of the
   list view and there is just a bit of padding between the left
   edge and where the text starts. The 4 pixels matches other
   places that override the DrawItem() method (like Tracker prefs).

If you change where it draws, you also have to change Update() to take the additional space requirements into account.

Bye,
   Axel.


Other related posts: