On Mon, May 09, 2011 at 03:46:21PM -0400, Jorge Arellano Cid wrote:
On Thu, May 05, 2011 at 09:17:22AM -0300, Jorge Arellano Cid wrote:
On Mon, May 02, 2011 at 05:54:08PM +0000, corvid wrote:
[...] - The test/ programs have UI problems (scrollbars, PgUp, etc.).
Oh, right. I'll give it a look.
I gave a more in depth review to the problem, and it originates in the lack of a layout() method in fltk-1.3 (fltk2 has it).
The original viewport size change of many example programs is never called because fltk-1.3's Group doesn't have a layout() method.
Dillo's UI doesn't have this problem since I made set_render_layout() correct the viewport size long ago.
My guess is that resize() does all the work in fltk-1.3, but we need more in depth knowledge of the mechanism before making a patch. BTW, the current resize code in Dillo has comments stating it needs a review, so this looks fuzzy.
I'm working on it now. Help is appreciated.
FWIW, I already have a simple patch that seems to work, but I need to investigate what's going on a bit more. -- Cheers Jorge.-