hi, I have a Fl_Pack in a FL_Scroll to form an image browser. My problem is when I resize it vertically the images get stretched vertically.
I tried overloading the image redraw() event to maintain the aspect ratio but then they become cluttered and overlapping in the pack. So, is there a way to 'refresh' the Fl_Pack so that it recalculates where each member should go? I was considering removing and re-adding the child elements again but that feels dirty. Or is there a more elegant approach to maintain the aspect ratio? thanks, Richard _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

