the following code: this.setHeight(QxConst.CORE_HUNDREDPERCENT); this.setWidth(QxConst.CORE_HUNDREDPERCENT);
var searchHBL = new QxHorizontalBoxLayout(); searchHBL.setHeight(QxConst.CORE_AUTO); searchHBL.setHorizontalChildrenAlign(QxConst.ALIGN_CENTER); searchHBL.setVerticalChildrenAlign(QxConst.ALIGN_MIDDLE); searchHBL.setMargin(5); searchHBL.setSpacing(5); searchHBL.add(searchTF, searchB); this = is a vertical box layout class inside the pane of a QxWindow. searchTF = QxTextField searchB = QxButton The horizontal children align does not work. It centers only the textfield, but does not take the button in account which means more space in front of the textfield compared to less after the button. Bug? Kent ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
