I am new to FLTK. I am using fltk 1.3.0. For my application, I would like to 
establish some minimum sizes for individual tiles that make up the Fl_Tile. The 
supplied test/tile.cxx seems to have some of the behavior I want. Box 2a seems 
to have a minimum width, and box 3b seems to have a minimum height. This seems 
to be due to lines 81-82:

 80
 81   Fl_Box r(10,0,300-10,300-10);
 82   tile.resizable(r);
 83   // r.box(FL_BORDER_FRAME);
 84

These would appear to create an invisible box that overlaps other Fl_Boxes that 
make up the tile. If I comment out these lines, boxes 2a and 3b can shrink 
until they disappear. How does this code achieve the minimum sizes?

This seems to violate two rules for Fl_Tile: tiles shouldn't overlap and no 
more than one resizable in a tile group.

How can I use this same technique to make the other tiles have minimum sizes as 
well?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to