FineUI 官方论坛

标题: DropDownList1和Button怎样配搭? [打印本页]

作者: yygy    时间: 2013-7-6 21:27
标题: DropDownList1和Button怎样配搭?
[attach]2652[/attach]
作者: 舞柯庶    时间: 2013-7-6 22:46
z在ASP 中做过
作者: 亮亮胖胖    时间: 2013-7-6 23:16
你是指位置紧挨着?还是什么?
作者: yygy    时间: 2013-7-6 23:44
位置紧挨着,帮一下忙吧。
作者: 亮亮胖胖    时间: 2013-7-7 10:48
请看看是不是要这个效果,图片a
代码请参考,图片b
其实我使用ColumnWidths进行位置控制的。
如果有更好的方法,我们一起学习.....


作者: yygy    时间: 2013-7-7 10:55
这样不够美观,距离太开了
作者: yygy    时间: 2013-7-7 14:11
可以了,虽然button宽了一点,但是勉强可以,各位能不能再改一下button宽度
  <x:FormRow>
                <Items>
                    <xanel ID="anel1" runat="server" BodyPadding="0px" ShowBorder="true" ShowHeader="false"
                        Title="anel" Layout="Column">
                        <Items>
                            <xropDownList ID="DropDownList1" runat="server" Label="科目_1" EnableEdit="true"
                                ForceSelection="false" AutoPostBack="true" RowHeight="50">
                            </xropDownList>
                            <x:Button ID="btnClose"  Icon="Add" runat="server"  CssStyle="margin-left:-5px;width:5px;text-align:right;">
                            </x:Button>
                        </Items>
                    </xanel>
                </Items>
            </x:FormRow>
[attach]2660[/attach]





欢迎光临 FineUI 官方论坛 (https://www.fineui.com/bbs/) Powered by Discuz! X3.4