Mercurial > dwindows
diff mac/dw.m @ 858:80f3e108fa43
Also align the header cells, not just the data ones.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 31 Mar 2011 23:34:12 +0000 |
parents | 718b91ac19d2 |
children | 80a88c91ccf6 |
line wrap: on
line diff
--- a/mac/dw.m Thu Mar 31 21:10:25 2011 +0000 +++ b/mac/dw.m Thu Mar 31 23:34:12 2011 +0000 @@ -4753,10 +4753,12 @@ else if(flags[z] & DW_CFA_RIGHT) { [(NSCell *)[column dataCell] setAlignment:NSRightTextAlignment]; + [(NSCell *)[column headerCell] setAlignment:NSRightTextAlignment]; } else if(flags[z] & DW_CFA_CENTER) { [(NSCell *)[column dataCell] setAlignment:NSCenterTextAlignment]; + [(NSCell *)[column headerCell] setAlignment:NSCenterTextAlignment]; } [column setEditable:NO]; [cont addTableColumn:column];