Well also I'm not sure we'r understanding each other. Dialog IS flexible but it looks like it's width did not calculated properly for long string values. Look at another screenshot. I did not set any width parameters here. Initially I thought popup dialog just have fixed maximal width.
2013/2/8 Alexander Voronin <[email protected]> > Percent and pixel value solution is ok but I'd prefer this element has > flexible width. Also null value not making dialog flexible for me. > > > 2013/2/8 Christopher Zündorf <[email protected]> > >> You can apply a percent value of course: >> >> qx.bom.element.Style.set(el, "width", "30%"); >> >> >> But I will take 30% of the whole window. >> >> If you will set it to "null", then the dialog width will be flexible >> again. >> >> I am not sure, if your problem is fully solved by setting a pixel value. >> >> Greetz Christopher >> >> >> Am 08.02.2013 um 16:15 schrieb Alexander Voronin: >> >> So for now solution like: >> >> var el = _sbFormSwitcher.getSelectionDialog().getContentElement(); >> qx.bom.element.Style.set(el, "width", "300px"); >> >> is suitable for changing popup width? Is there a way just make this >> element flexible but not fixed width? >> >> 2013/2/7 Christopher Zündorf <[email protected]> >> >>> >>> Added a getter for the selectionDialog with: >>> >>> fe3fd622c4c6389200edb420da50d243cad7f1ce >>> >>> Am 07.02.2013 um 18:13 schrieb Alexander Voronin: >>> >>> Perhaps it's ridiculous, but I did not find a way to change maximal >>> width of qx.ui.mobile.form.SelectBox form element. >>> I thought it's flexible but today got this situation on screen when >>> selection overlaps text. Also getContentElement() returns div from >>> background form, but not from popup menu. >>> >>> -- >>> когда я опустился на самое дно, снизу мне постучали.. >>> <sbwidth.png> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> >>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >> >> >> -- >> когда я опустился на самое дно, снизу мне постучали.. >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > > -- > когда я опустился на самое дно, снизу мне постучали.. > -- когда я опустился на самое дно, снизу мне постучали..
<<attachment: sbwidth.png>>
------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
