key navigation and visible area of the page

Tobias Anton TA at ESC-Electronics.de
Fri Jul 9 18:50:58 BST 2004


On Dienstag, 25. Mai 2004 10:37, Tobias Anton wrote:
> > I guess it could also be done using one call, with the ensureVisible
> > overload that lets you specify a margin.
>
> You're right. We could pass the center of the focused box as x/y
> coordinates and use half of the box's width/height, increased by about 20
> pixels, as the xmargin/ymargin size. I admit that this is a bit more
> complicated than it should be, but that's the fault of the QT API.

Hi Lubos, 
attached is a patch that saves one call to ensureVisible(), which should 
reduce flickering.

Cheers
-- Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: single-ensure-visible-for-focusing.diff
Type: text/x-diff
Size: 1127 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040709/439a64c9/attachment.diff>


More information about the kfm-devel mailing list