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

Key: LPP-1999
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: -- --
Assignee: Frisco Del Rosario
Reporter: Amy Muntz
Votes: 0
Watchers: 0
Operations

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

Review code for new textalign attr in gridtext.lzx

Created: 25/Apr/06 05:03 PM   Updated: 26/Jun/06 09:38 PM
Component/s: Components - LZ
Affects Version/s: 3.3.3
Fix Version/s: 3.3, 3.3.3

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive gridtext.zip (2 kb)


Severity: Major
Fixed in Change#: 41,874
Runtime: N/A
Fix in hand: True


 Description  « Hide
From a contributor (L. Ritossa), please find attached gridtext.zip

Email here.
I added, in gridtext.lzx, the new attribute called "textalign", with new functionality to align the gridtext's content on left,center or right inside its column...

Could I suggest to you this "hack" as an implementation of the actual gridtext's version? Or I can only contribute with new object...
I think this is an interesting and useful functionality.

The attached file contain the gridtext.lzx review.

To use "textalign" simply define it as gridtext's attribute:
<gridtext name="foo1" datapath="..." textalign="left">foo1</gridtext>
<gridtext name="foo2" datapath="..." textalign="center">foo2</gridtext>
<gridtext name="foo3" datapath="..." textalign="right">foo3</gridtext>

A added code in this lines:
line 23
and from line 70 to line 103

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Amy Muntz - 25/Apr/06 05:04 PM
Attached file from L. Ritossa.

Amy Muntz - 25/Apr/06 05:05 PM
Jim - please review. Would be straightforward to test, I think. Can we get it in for 3.2.1?

Jim Grandy - 27/Apr/06 01:54 PM
Checked into lps-dev as change 41873

Jim Grandy - 27/Apr/06 01:56 PM
Integrated to lps-3.2 as change 41874