Create a table like structure in flex [duplicate]

人走茶凉 提交于 2020-01-17 05:42:46

问题


I want to create a form in a table like structure like we do in html. following is the basic structure i require![enter image description here][1]

[1]: http://i.stack.imgur.com/H6b3f.png
How to code such a structure?


回答1:


Use the Spark Form components.

Example (shamelessly modified from example on the help page):

<s:Form id="myForm" width="450" height="125">
    <s:FormHeading label="My Form Title" />
    <s:FormItem label="Name:">
        <s:TextInput id="name" />
        <s:helpContent>
            <s:Label text="Enter your first and last names" />
        </s:helpContent>
    </s:FormItem>
</s:Form>



回答2:


 <div id="header_block">
      ...... Header_block Contents
    </div>
   <div id="wrapper">
      ...... Entire Page
    </div>

css

   #header_block
     {
           position:fixed;
           width:100%;
           float:left;
      }


来源:https://stackoverflow.com/questions/13004430/create-a-table-like-structure-in-flex

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!