In the Flex UI, my & lt; Mx: list & gt; can not be fully demonstrated due to the other component shelter (for example: the refresh button is part of the shelter).
This is my code:
& lt; I & lt; Mx: list & gt; How can I do this in front of all other UI components? S: HGroup Vertical Aligns = "Medium" & gt; & Lt; S: Label Text = "Choose Log File" / & gt; & Lt; Mx: combo box id = "logfilekheokyconfo" dataprider = "{fileNameList}" width = "150" color = "0x000000" close = "changeLogFilesHandler (event);" /> & Lt; Mx: spacer width = "320" /> & Lt; S: Label Text = "Filters or Highlights:" /> & Lt; Mx: combo box id = "filter combo" dataprider = "{filter altitude}" width = "150" color = "0x000000" /> & Lt; S: VGroup height = "25" & gt; & Lt; S: TextInput id = "logContentInput" change = "filterLogContent ()" enabled = "true" focus IN = "clearMyTextInput ()" text = "Filter / HightLight" width = "250" height = "26" /> ** & lt; Mx: list id = "searchMsgList" ** x = "65" y = "35" width = "200" height = "200" fontSize = "12" change = "itemChangEvent (event);" / & Gt; & Lt; / S: VGroup & gt; & Lt; / S: HGroup & gt; & Lt; / Mx: canvas & gt; & Lt; S: Hg Group Vertical Alliance = "Medium" & gt; & Lt; S: Label text = "Filter by log level": /> & Lt; Mx: combo box id = "log levale Cambodia" datatypadar = "{logielievIiIT}" width = "150" color = "0x000000" closed = "changelogvallehandler (event);" /> & Lt; S: checkbox id = "showstacks" click = "showtaketrace (event)" selected = "wrong" /> & Lt; S: label text = "show stacktrace" /> & Lt; Mx: spacer width = "550" /> & Lt; S: Button id = "test" label = "refresh2" & gt; & Lt; / S: Button & gt; & Lt; / S: HGroup & gt;
You have a lot going on with a mix of nested layouts and a mix of hello And Spark Container I'm not sure what layout you're trying to make.
He said, take a look at the method should do something like this:
this.swapChildren (refresh2, searchMsgList); But it will hide your refresh button, which looks less than ideal.
Some things strike me:
You have specified the X and Y values inside your first vigum. I thought those values were ignored inwards VGroups, which automatically keeps the status of their children in a vertical line.
Let me finish a & lt; / Mx: canvas & gt; tag, canvas tag is unusual for me to use canvas in all HGroups and VGroups
Comments
Post a Comment