xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Bug in fdesign


From: Paul Nicholson
Subject: Re: [XForms] Bug in fdesign
Date: Tue, 31 Jan 2012 23:11:46 +0000
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Hi Jens,

I see the cause of the problem now.

The clipping is done by the GC.

Ordinary text in the tbox component of the browser is drawn
using a GC correctly set up for the tbox.

But the separator lines are drawn by a call to fl_drw_text().
This function doesn't use the tbox GC, instead it uses a global
one called flx->gc.

Hence the separator line doesn't get clipped.

Only if the tbox text row that contains the separator is
completely out of the tbox bounds so that fl_drw_text() is
not called at all, then it is ok.

Not sure of the solution, other than to modify fl_drw_text()
to pass down a GC (or NULL) for the lower functions to use.
If a NULL is passed, it would use flx->gc by default.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]