Patch for alignment of 'size' column

Discuss development issues and submit patches here
Post Reply
ajs
Posts: 409
Joined: Mon Jul 05, 2010 6:37 pm

Patch for alignment of 'size' column

Post by ajs »

Patch for alignment of 'size' column

The 'size' column should always be right aligned, even when sorting by size.
See here for more http://www.explorerplusplus.com/forum/v ... ?f=5&t=686

Patch against commit 170
Attachments
patch_35__v170.7z
(1.55 KiB) Downloaded 473 times
David Erceg
Site Admin
Posts: 936
Joined: Sat Apr 18, 2009 1:46 am

Re: Patch for alignment of 'size' column

Post by David Erceg »

I've committed this with a few minor changes. I altered ApplyHeaderSortArrow() so that it only adds/removes HDF_SORTUP/HDF_SORTDOWN, rather than resetting all the properties. I also moved the call to ApplyHeaderSortArrow() back into SortFolder(). The header arrows change whenever the sort mode is changed, not just when the header is clicked, so SortFolder() needs to trigger an update of the headers.
ajs
Posts: 409
Joined: Mon Jul 05, 2010 6:37 pm

Re: Patch for alignment of 'size' column

Post by ajs »

Hi David,
I like your committed code better than mine. It is more clean and simple.
Post Reply