Matthias Melcher wrote: > > On 01.03.2010, at 10:20, Domingo Alvarez Duarte wrote: > >> In my quest to have a layout manager in fltk, I found that Fl_Group >> already save it's children sizes to later resize/scale then in it's >> member field "int *sizes_;". >> >> In my opnion for fltk to do the resize/scale properly it should change >> labels font as well text font and the ideal place to do it is together >> with the already saved "x,w,y,h" in sizes_. > > Unless we "scale" the whole application (which could be done with a lookup > table), the layout should never change any font sizes. Why would a layout > manager change any font sizes? > > - Matthias
Try any FLTK application that has resizable window but dont't have any child resizable, resize the window you can see that all widgets are scaled/zooned with the exception of it's labelsize and font size, so for example we get a bigger input box but with the same small font as before resize and the opposite happens too, resize the window to small size and you get a small input box but with the same big font as before resize. It's a question to behave consistently if we scale/zooned the widgets size/position we should as well do the same with it's font size. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
