Peter Sheldrick schrieb:
This is some code for (2): window.application.main = function() { var d = this.getClientWindow().getDocument();var dl = new QxDockLayout; dl.setEdge(30, 10, 30, 10); var l1 = new QxWidget; l1.setWidth("50%"); l1.setBackgroundColor("blue"); var r1 = new QxTextField; r1.setWidth("50%"); r1.setBackgroundColor("cyan"); dl.add(l1, "left"); dl.add(r1, "right"); d.add(dl); };Now if you resize the browser window - the QxTextField gets less than 50% of the width of the QxDockLayout. When you refresh the page it goes back to normal. This is qooxdoo-stable (== HEAD?) version 0.14.
Ok, please switch to RENDERER after it will be released today as our new major version.
Sebastian
On 2/16/06, *Sebastian Werner* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:Peter Sheldrick schrieb: > There are only two Qx types that can store text that is editable: > QxTextField and QxTextArea. They behave slightly differently; for example: > (1) In a QxTextField i can't make newlines - in a QxTextArea i can. Yes, this a the difference between the two widgets. Why this is a bug? > (2) If put them in a QxDockLayout a QxTextField only gets formatted > properly if the page is just loaded - if the size of the page is changed > after it is loaded the QxTextField does not have the correct width. The > QxTextArea does not have the correct height. > > With "correct" i mean the format specified by for example setWidth() Could you please send an example? Have you tested this in RENDERER or in HEAD (for example 0.1.4). Sebastian . > > - Peter ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642> _______________________________________________ Qooxdoo-devel mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
