Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
ruchir123 #1
PLEASE HELP!! align "justify" issue
Hello,
I want to display paragraph contents on a webpage with a "justify" alignment.
So, I have created a text control in mxml but dicovered that the textAlign
property only supports three values - 'right','left' and 'center'
To workaround this problem, I used htmlText property with html tag align =
'justify' in my mxml script.. As shown below.
textField.htmlText = "<p align='justify''> Headquatered in
London..............</p>";
This does not work. I also tried as shown below
textField.htmlText = "<p align=\"justify\"> Headquatered in London.......</p>";
Unfortunately this does not work either.
However, If I pass any other value other than 'justify'(Right,Left,Center) it
works. This means that even html formatting for suported tags in mxml does not
work and I think this is a bug becuase <p> and <align> html tags are supported
in mxml.
Is there any way to get this done in mxml? I need to have a 'justify'
alignment for all my contents of the webpage and other options are not
acceptable at all. PLEASE HELP!!
Other alignments such as 'right', 'left' and 'center' would make webpage
contents ugly and not acceptable at al;l.
Thanks,
Ruchir
ruchir123 Guest
-
align = 'justify' does not work
Hello, I want to display paragraph contents on a webpage with a "justify" alignment. So, I have created a text control in mxml but dicovered that... -
align "right" the text inside a text field?
hi: this is the code i've used: <STYLE type="text/css"> <!-- ..totalField { font-weight: bold; text-align: right; } -
Text align as Justify looking weird
Hi all, I noticed that when I give the text-align style as "justify", the words are unevenly spaced to justify the alignment. But it looks really... -
"replace pages" / "rotate pages" orientation issue
in Adobe acrobat you can open a PDF file and "replace pages" (some or all) with pages from another PDF file. it used to be that when I did this,... -
Missing "Align" Window and other bugs
I know I'm not the only one with this problem - has anybody got a fix? It's really doing my head in. To clarify - Click Window - Align. I get an... -
Tiberian #2
Re: PLEASE HELP!! align "justify" issue
Hi,
here sampl
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
load="addtextx();">
<mx:Script>
<![CDATA[
function addtextx(){
yeni.htmlText="all <p>html </p> <br>possible";
}
]]>
</mx:Script>
<mx:TextArea editable="false" hScrollPolicy="off" vScrollPolicy="off"
width="98%" height="350" horizontalGap="0" verticalGap="0"
borderColor="#FFFFFF" id="yeni" />
</mx:Application>
Tiberian Guest
-
Tiberian #3
Re: PLEASE HELP!! align "justify" issue
for justify use in css
text-align: justify;
Tiberian Guest



Reply With Quote

