Greg Ercolano wrote: > If I do the following: > > 1) Resize window > 2) Push button > 3) Resize window > > ..it pops at #3. > > This happens with the original code. > > It's likely due to Albrecht's caveat about how the cache > gets updated on a resize if it's empty (and is cleared by > init_sizes()) is the likely cause of the 'delay' in seeing > the problem when you just do this: > > 1) Push button > 2) Resize window > 3) Push button > 4) Resize window > > ..here you don't see the problem at #2, but you do at #4, > because apparently the 'cache' is built at #2. > > Definitely calling init_sizes() makes the above problems > go away.
Good description :-) Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

