comparison dw.h @ 1435:3c5287b8eebb

Temporary fix on Mac for box miscalculation when box is not expandable but items are in complex layouts. There is a fundamental flaw in the calculation of these types of boxes... and after looking at the code... in general the layout code does a lot more calculation than necessary... I will be rewriting and simplifying this code in the near future... but this is a temporary fix to get things to work better in the meantime.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 07 Dec 2011 18:51:48 +0000
parents cfc7af97c295
children a50e8b486a1a
comparison
equal deleted inserted replaced
1434:2cca36ec3da6 1435:3c5287b8eebb
673 #endif 673 #endif
674 /* Number of items in the box */ 674 /* Number of items in the box */
675 int count; 675 int count;
676 /* Box type - horizontal or vertical */ 676 /* Box type - horizontal or vertical */
677 int type; 677 int type;
678 /* Keep track of how box is packed */
679 int hsize, vsize;
678 /* Padding */ 680 /* Padding */
679 int pad, parentpad, grouppadx, grouppady; 681 int pad, parentpad, grouppadx, grouppady;
680 /* Groupbox */ 682 /* Groupbox */
681 HWND grouphwnd; 683 HWND grouphwnd;
682 /* Default item */ 684 /* Default item */