Re: aligning text in columns
Bonjour Chris, In some stacks, specially before the dataGrid, I right aligned using format (see format in the dictionary For example, the following handler : local theData set the itemDel to tab put fld fData into theData repeat with x = 1 to the number of lines in theData repeat with y = 1 to the number of items in line x of theData if item y of line x of theData is a number then put format(%13s,item y of line x of theData) into item y of line x of theData end if end repeat end repeat put theData into fld fData In this example, 13 is the number of chararacters which is possible in a column. To use right align in this way it is necessary to use monospaced font in the field. Best regards André Le 10 juin 2014 à 19:28, Chris Sheffield a écrit : Do we have the ability yet to set the text alignment for individual columns in a table field? I have a very simple field with just two columns. I want the alignment of the first one to be left, and the second one to be right. A data grid is overkill, otherwise I’d go with that. I couldn’t remember if, with all the new field changes, that was added or not. I can’t seem to find any obvious properties, but I could be missing something. Or would it be best to just use two separate fields for this? Thanks, Chris ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
aligning text in columns
Do we have the ability yet to set the text alignment for individual columns in a table field? I have a very simple field with just two columns. I want the alignment of the first one to be left, and the second one to be right. A data grid is overkill, otherwise I’d go with that. I couldn’t remember if, with all the new field changes, that was added or not. I can’t seem to find any obvious properties, but I could be missing something. Or would it be best to just use two separate fields for this? Thanks, Chris ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: aligning text in columns
Chris Sheffield wrote: Do we have the ability yet to set the text alignment for individual columns in a table field? My understanding is that the work has been done, and it will be in a new build of 7.0dp soon. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: aligning text in columns
Thanks, Richard. Good to know. On Jun 10, 2014, at 11:55 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Chris Sheffield wrote: Do we have the ability yet to set the text alignment for individual columns in a table field? My understanding is that the work has been done, and it will be in a new build of 7.0dp soon. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode