DivElement columnWidth
hi,
i have application create textflow heading , body text such as:
heading title
lorem ipsum dolor sit amet, consectetur adipiscing elit. cras posuere posuere sem...
and body text appear in multiple columns. have created single textflow in single textarea , added columnwidth , columngap parameters div containing body text, single column body text. if set columnwidth , columngap on entire textflow, multiple columns, don't want title text in 1 column. can create 2 textarea controls in vgroup , set column parameters on control body, seems should unncecessary.
-brian
<?xml version="1.0" encoding="utf-8"?>
<s:application name="richeditabletextexample"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:panel title="textarea tlf"
width="90%" height="90%"
horizontalcenter="0" verticalcenter="0">
<s:textarea id="ta1" textalign="left" width="600">
<s:textflow>
<s:textflow>
<s:p textalign="center"><s:span fontweight="bold">heading text</s:span></s:p>
<s:div columnwidth="100" columngap="10">
<s:p>lorem ipsum dolor sit amet, consectetur adipiscing elit. cras posuere posuere sem, eu congue orci mattis quis. curabitur pulvinar tellus venenatis ipsum tempus lobortis. vestibulum eros velit, bibendum @ aliquet ut.</s:p>
</s:div>
</s:textflow>
</s:textflow>
</s:textarea>
</s:panel>
</s:application>
bldrbldr wrote:
i can create 2 textarea controls in vgroup , set column parameters on control body, seems should unncecessary.
it should unnecessary, right that's way want. don't yet allow elements straddle columns, it's feature want add eventually.
More discussions in Text Layout Framework
adobe
Comments
Post a Comment