January 29, 2003

Double Reflow

In reviewing the patch for bug 26650 it has become apparent that our reflow system makes us do too much work because of the fact that everything happens in the Reflow() method. In this case, for example, we figure out the size of the children of the button first and then we have to reflow them again just to position them--but we recalculate the width when we do that. Double work.

What would happen in a less monolithic system would be a "GetPreferredSize" or "CalculateWidth" which did not change the position, followed by "GetPosition" which did not change the width. dbaron has touched on this many a time. Perhaps this will be part of any Grand Scheme to make reflow more maintainable / readable.

Posted by jkeiser at January 29, 2003 1:50 AM
Comments

Dock Animation. Sometimes animating icons in the dock can be useful in communicating the status of the system or application.

Posted by: Dionise at January 25, 2004 8:19 AM

Adhere to System Appearance. Does your application use all the sweetly colored buttons, delightfully shaded windows, and all the other "bells and whistles?"

Posted by: Janikin at January 25, 2004 8:21 AM