What's about to include the line which makes it auto sized? Generally qooxdoo was not designed to include one widget somewhere here and one widget somewhere there. QxInline was though to embed a qooxdoo application (many widgets) inside a typical HTML based layout.
Sebastian Keith Kowalczykowski schrieb: > Hey Everyone, > > > > I’m trying to do some work with integrating Qooxdoo with an > existing site, using QxInline. I wrote the following piece of test code > but it doesn’t seem to be working properly: > > > > <?xml version="1.0" encoding="iso-8859-1"?> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" > "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> > > <head> > > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-15" /> > > <title>qooxdoo demo</title> > > <script type="text/javascript" src="qooxdoo/script/qooxdoo.js"></script> > > > > <script type="text/javascript"> > > function onLoad() > > { > > var test = > window.application.getClientWindow().getClientDocument(); > > var inline = new QxInline("test"); > > test.add(inline); > > > > //inline.setHeight("auto"); > > //inline.setWidth("10"); > > > > var button = new QxButton("test"); > > > > inline.add(button); > > } > > </script> > > > > </head> > > <body onload="javascript:onLoad()"> > > This is a test<div id="test"></div>of some content with a button > in the middle. > > </body> > > </html> > > > > This code is rendered in FF 1.5 as follows: > > > > This is a test > > [button]me content with a button in the middle. > > > > The problem I am having is that the button overlays the text, so that > “of so” is cut off. My impression was that if it was rendered inline, it > would push the text over. Am I doing something wrong? How would a go > about achieving this? Thanks for you help. > > > > --Keith > > > ------------------------------------------------------------------------ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
