Hi,

On Friday May 6 2011 16:46:05 rlexa wrote:
> On  selection change in a SelectBox the appropriate 'scrolling into view'
> code is eventually done in the qx.bom.element.Scroll. It would be nice to
> have a possibility to let the item scroll to the middle of the opened list
> and not just appearing in the top-most or bottom-most position.
Nice idea. I think this is worth a enhancement issue. Can you please create 
one for this issue?

> Without editing the framework itself - what would be the best solution for
> this? Circumventing this seems very complex as ultimately there must be own
> code instead of the Scroll.js (e.g. 'scrollDiff = (topOffset + bottomOffset
> + parentScrollBarHeight)/2;' instead of going to top/bottom), which is
> static by the way taking Elements instead of Widgets etc.
> The complexity results from the deep hierarchy
> (SelectBox-List-...-Composite-ListItem) and from the fact that the actual
> "scroll now really" code is called after some dispatched events in the html
> context.
> 
> Some help/ideas there, maybe a possibility to exchange some function
> objects or similar?
I don't think this is possible *without* changing framework code, sorry. The 
best thing to do is to open a enhancment issue report as stated above.

Regards,
  Alex

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to