# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1315360374 0 # Node ID 6828a01ecf3cb5d9ac2bf1d0a3f5ea1f8f14c117 # Parent 41a93f9896e3469051aa8d2a199cbec14ff7ea45 Include the header column text width during container optimize on Mac. diff -r 41a93f9896e3 -r 6828a01ecf3c mac/dw.m --- a/mac/dw.m Wed Sep 07 00:56:46 2011 +0000 +++ b/mac/dw.m Wed Sep 07 01:52:54 2011 +0000 @@ -1539,7 +1539,8 @@ if(rowcount > 0) { int x; - int width = 0; + NSCell *colcell = [column headerCell]; + int width = [colcell cellSize].width; for(x=0;x