On 11.03.2010, at 18:18, David Lopez wrote:

> Hi,
> With the following code I tried to override the Fl_Window::resize () method 
> to set an arbitrary aspect ratio (for example a fixed width). The problem is 
> that the window frame doesn't get that size, only the canvas seems to do it.
> Can some one figure out what I'm doing wrong?
> Thanks Very Much

Did you see the "size_range" function? This may already do what you need, and 
it interfaces right to the desktop manager.

http://fltk.org/documentation.php/doc-1.1/Fl_Window.html#Fl_Window.size_range

- Matthias
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to