[Development] Flickable and boundsBehavior

Rafael Brandao rafael.lobo at openbossa.org
Tue Apr 3 22:20:18 CEST 2012


Hello there,

Recently I've came to this strange behavior when the boundsBehavior is set
to DragAndOvershootBounds: if the size of an axis of the inner content is
strictly equals to the size of the flickable area axis, then it won't drag
outside the boundary and overshoot as the behavior suggests. This is not
clear in the docs as far as I know, and it sounds odd the "strictly equal"
case. If instead it was "lower or equal", then an argument to it would be
"you should not drag the content inside if the content in that axis is
completely visible already". Right now this is not valid. Does this sounds
like a bug?

Also, maybe it is desired that this overshoot always happens, even if the
content is equal (or lower) to the flickable area size, so adding a new
behavior enum might be an option. Do you think this is a good idea?

Regards,

-- 
Rafael Brandao @ INdT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120403/8571706f/attachment.html>


More information about the Development mailing list