Search found 5 matches

by amandab
Tue Apr 02, 2013 4:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize text and column width of Datagrid (table)
Replies: 8
Views: 5071

Re: Resize text and column width of Datagrid (table)

No problems at all. I'm glad I have it all working and now it's something I just need to be mindful of in the future. Thanks so much for all of your help!!
by amandab
Tue Apr 02, 2013 3:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize text and column width of Datagrid (table)
Replies: 8
Views: 5071

Re: Resize text and column width of Datagrid (table)

I tested again based on your most recent comments This doesn't work: set the dgColumnWidth["myColumnName"] of group "myDgGroup" to (round(the width of this card * .15)) This works: set the dgColumnWidth["myColumnName"] of group "myDgGroup" to round(the width of this card * .25) It seems the issue wa...
by amandab
Tue Apr 02, 2013 12:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize text and column width of Datagrid (table)
Replies: 8
Views: 5071

Re: Resize text and column width of Datagrid (table)

I did try using calculations first as most other objects on the card are resized based on a calculation. I am able to add a calculation for dgProp["text size"] successfully. When I attempt use a calculation with dgColumnWidth the code doesn't error when I apply it but the calculation has no effect o...
by amandab
Thu Mar 28, 2013 6:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize text and column width of Datagrid (table)
Replies: 8
Views: 5071

Re: Resize text and column width of Datagrid (table)

Thanks sturgis. I did go through all of those links over the past few days and didn't have much success. I tried again this morning after receiving your reply and I am now able to modify the text size and column widths of the datagrid when the stack is resized. I do have one more question though... ...
by amandab
Wed Mar 27, 2013 5:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resize text and column width of Datagrid (table)
Replies: 8
Views: 5071

Resize text and column width of Datagrid (table)

Hi, I am very new to live code and am having trouble resizing the contents of my datagrid (table). I would like to set the text size and column widths of the datagrid based on the height/width of the stack. I have been able to resize the dimensions of the datagrid and other objects on the card but c...