Hello piplz, 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.
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? -- View this message in context: http://qooxdoo.678.n2.nabble.com/SelectBox-placing-a-list-item-coming-into-view-in-the-middle-instead-of-top-or-bottom-tp6337809p6337809.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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
