History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-5221
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P2 P2
Assignee: Benjamin Shine
Reporter: Lou Iorio
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

canvas bgcolor does not work in live examples in the dguide

Created: 09/Dec/07 01:34 AM   Updated: 17/Dec/07 07:03 PM
Component/s: Doc Tools
Affects Version/s: RingDingTools (4.1 Ref Guide + Tools)
Fix Version/s: RingDingTools (4.1 Ref Guide + Tools)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 7,581
Runtime: N/A
Fix in hand: False


 Description  « Hide
For example, in Chapter 5. OpenLaszlo Basics, the first example sets bgcolor to green,
but it shows up white.

If you click on Edit and go to laszlo-explorer, it works correctly.

This also worked correctly in version 3.4.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Benjamin Shine - 17/Dec/07 01:32 PM
To make a live example have a canvas color, specify the bgcolor in the programlisting's
parameter tag:
   <parameter role="canvas">height: 100, width: 500, bgcolor: 'green'</parameter>

I have done this in the laszlo_basics chapter, for that one green canvas, in changeset 20071217-ben-l.tar.gz (out for review).

Benjamin Shine - 17/Dec/07 07:03 PM
r7581 | ben | 2007-12-17 19:01:58 -0800 (Mon, 17 Dec 2007) | 27 lines
Changed paths:
   M /openlaszlo/trunk/docs/src/developers/tutorials/laszlo_basics.dbk

Change 20071217-ben-l by ben@slim.local on 2007-12-17 13:23:38 PST
    in /Users/ben/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Set canvas color for the first live example in Laszlo Basics

New Features:

Bugs Fixed: LPP-5221 (partial) canvas bgcolor does not work in live examples in the dguide

Technical Reviewer: iorio (pending)

Documentation:
To make a live example have a canvas color, specify the bgcolor in the programlisting's
parameter tag:
   <parameter role="canvas">height: 100, width: 500, bgcolor: 'green'</parameter>


Tests:
Notice that the first example in
http://localhost:8080/trunk/docs/developers/tutorials/laszlo_basics.html
has a green background; the rest are white.

Also note that other canvas on that page and on other pages in the dev
guide continue to have white backgrounds.