DataGrid: variable height lines

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

DataGrid: variable height lines

Post by paulclaude » Fri Apr 10, 2009 11:27 am

I need a simple "field" (as in example at http://revolution.screenstepslive.com/s ... Grid-Form-) but with variable height lines.

Maybe is very easy to set lines that accommodates line height to host whole line text length of long texts, but (also for language problems), I can't understand the way to build it.

Is there anybody that may help me?

Paul

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: DataGrid: variable height lines

Post by sturgis » Fri Apr 10, 2009 3:28 pm

Does taking the check out of "Fixe line height" in the properties inspector for the field do what you want?
paulclaude wrote:I need a simple "field" (as in example at http://revolution.screenstepslive.com/s ... Grid-Form-) but with variable height lines.

Maybe is very easy to set lines that accommodates line height to host whole line text length of long texts, but (also for language problems), I can't understand the way to build it.

Is there anybody that may help me?

Paul

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Post by trevordevore » Fri Apr 10, 2009 4:21 pm

Paul - I created a new lesson in the manual that describes how to modify the default row template and behavior to do this. Let me know if this helps.

How Do I Create a Form with Variable Line Heights?
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Post by paulclaude » Tue Apr 14, 2009 8:40 am

Thanks, Trevor, this is exactly what I need.

Cheers

Paul

Post Reply