This is my problem, it is quite clear: [IMG below]
The problem, as you can There is nothing like the text (height and width) of the height and width of the compositor (Spark Textaria) that I have set in Flex 4 through the Main.mxml file. It is closing me so much because no one can tell me why this is happening, or how to fix it. The text is dynamically added to textaria because people send messages to the server, so the value committ line.
I do not understand this, because I know that this is not a mistake of my Fx script. I know this because when I switch to the Design tab of Adobe Flex Builder 4; The lines are interrupted as soon as the screen shot.
On this issue, I am doing my hair outside (figuratively), please answer to help me.
& lt ;! - State: Interface - & gt; & Lt; S: TextArea id = Include in the "Incoming Message" = "Interface" heightlines = "{NN}" Width Indicures = "{NN}" y = "10" x = "9" minWidth = "426" minHeight = "442 "Lesson =" By Charles Braton, Paradise v5.00a was connected to chat. " ValueCommit = "incomingMessages_valueCommitHandler (event)" /> & Lt ;! - Toolbar - & gt; & Lt; S: Includes HGroup in = "interface" x = "10" y = "460" width = "363" height = "22" & gt; & Lt; Mx: ColorPicker id = "tintcolor" selected collar = "#fffff" included = "interface" /> & Lt; S: label id = "curname" height = "22" width = "100" text = "& amp; UTI; user & amp; gt;" FontSize = "16" includeIn = "Interface" /> & Lt; S: Checkbox label = "autocross" id = "scrollToggle" selected = "true" /> & Lt; S: Button id = "clearButton" width = "60" height = "22" label = "clear" click = "incoming message. Text = & amp; quot; & amp; quot ;; /> & lt ; / S: HGroup & gt; & gt; - End Toolbar - & gt; & lt; s: Button id = "sendMessage" width = "60" height = "22" label = "SEND" includeIn = "interface" X = "375" y = "460" />
list id =" user list "x =" 443 "y =" 10 "width =" 128 "Height =" 488 "included in =" interface "item render =" use Customer list presenter "/>: Combobox included In =" Interface "x =" 444 "y =" 506 "width =" 127 "id =" song "chanexx =" 0 "/> Lt;! - End state: Interface -> This is FX: If you care for SCRIPT incomingMessages_valueCommitHandler (event):
Secure function incomingMessages_valueCommitHandler (Event: FlexEvent): Zero {if (scrollToggle .selected) incomingMessages.textDisplay.verticalScrollPosition = incoming message. Text Diceplay.maxHeight; } I do not have permission to post images [reputed less than 10] So here's a link: Edited to include the surrounding code as asked All of you do not understand that the text box is taking in shape, which I set it to, but within the text box TEXT is only lifting the total text box field with 100 pix width and height, please check Picture link
OK, we got the problem, graphite.style. Textresa ... What was ADOB smoke?
& lt; S: scroller id = "scroller" left = "0" top = "0" right = "0" down = "0" minViewportInset = "1" is measured SizeIncludesScrollBars = "false" & gt; & Lt; S: RichEditableText id = "textDisplay" lineBreak = "tofit" text align = "left" selectable = "true" verticalAlign = "top" paddingBottom = "4" paddingTop = "4" paddingLeft = "4" paddingRight = "4" height = "125" width = "125" maxWidth = "125" maxHeight = "125" /> & Lt; / S: Scroller & gt;
What type of component is the parent of your textarias? Without knowing the surrounding MXML, you can set the width and height to 100%. If that does not work, then post some of your MXML and we will try to understand it. Hope that helps
Comments
Post a Comment