【问题标题】:Create a table like structure in flex [duplicate]在flex中创建一个类似结构的表[重复]
【发布时间】:2012-10-22 02:50:23
【问题描述】:

我想像在 html 中那样在表格中创建一个表格。以下是我需要的基本结构![在此处输入图片描述][1]

[1]:http://i.stack.imgur.com/H6b3f.png
如何编写这样的结构?

【问题讨论】:

    标签: html apache-flex


    【解决方案1】:

    使用 Spark Form 组件。

    示例(从帮助页面上的示例无耻地修改):

    <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;
            }
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-03
        • 2017-06-07
        • 1970-01-01
        • 2012-02-15
        • 1970-01-01
        相关资源
        最近更新 更多