Approved!

On 7/29/10 4:58 PM, [email protected] wrote:
Change 20100729-philip-zf0 by phi...@philip-i7 on 2010-07-29 19:48:32 EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix layout of editor and buttons within the rte component.

New Features:

Bugs Fixed: LPP-9252

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:
lps/components/extensions/rte.lzx
- If an image button uses a relative path, make it absolute to it works
properly in an iframe.

lps/includes/rtewrapper.html
- Use dijit.layout to control the size of the editor and button div.

lps/includes/source/rtemanager.js
- Load dijit.layout components to autosize the editor and button div.
- Use AlwaysShowToolbar plugin so editor height is properly sized.
- resize layout when a button is added/removed or the editor is created.

examples/extensions/rte.lzx
- Size rte component to the size of the window.
- Use relative path to image (is patched by rte component)


Tests:

http://localhost:8080/trunk/examples/extensions/rte.lzx

The editor and buttons now size properly to the window size. The
scrollbar now appears at the proper time.


Files:
M lps/components/extensions/rte.lzx
M lps/includes/rtewrapper.html
M lps/includes/source/rtemanager.js
M examples/extensions/rte.lzx


Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100729-philip-zf0.tar


--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to