请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

李军

论坛元老

36

主题

72

帖子

1万

积分

论坛元老

积分
18724

活字格认证

李军
论坛元老   /  发表于:2014-3-11 15:40  /   查看:4277  /  回复:7
<td class="tb_gray_block">油表信息: </td>
                      <td>
                          <wijmo:C1ComboBox ID="C1ComboBox2" runat="server" Width="20px"
                              IsEditable="False">
<HidingAnimation Option=""></HidingAnimation>

<ShowingAnimation Option=""></ShowingAnimation>
                          </wijmo:C1ComboBox>
                      </td>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

7 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2014-3-11 17:01:00
沙发
回复 1楼李军的帖子

你好,

我通过附件 Demo 没能重现问题,请参考。


是否是有其他css样式影响了宽度的设置,最好上传可以重现问题的 Demo 上来查看。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
debug
新手上路   /  发表于:2014-3-11 17:24:00
板凳
已收到OO..
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-12 09:48:00
地板
回复 3楼debug的帖子

请问问题是否解决?
回复 使用道具 举报
李军
论坛元老   /  发表于:2014-3-12 14:26:00
5#
<body>
    <form id="form1" runat="server">
    <div>
       <table width="100%">
       <tr>
            <td>
               
                 <wijmo:C1ComboBox ID="C1ComboBox1" runat="server" Width="20px">
                            <ShowingAnimation Option=""></ShowingAnimation>

                            <HidingAnimation Option=""></HidingAnimation>
                            <Items>
                                <wijmo:C1ComboBoxItem ID="C1ComboBoxItem1" runat="server" Text="C1ComboBoxItem1" />
                                <wijmo:C1ComboBoxItem ID="C1ComboBoxItem2" runat="server" Text="C1ComboBoxItem2" />
                                <wijmo:C1ComboBoxItem ID="C1ComboBoxItem3" runat="server" Text="C1ComboBoxItem3" />
                            </Items>
                        </wijmo:C1ComboBox>
            </td>
         </tr>
       </table>
    </div>
    </form>
</body>

当table的width=100%时,C1ComboBox 的width=20px无效
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-12 16:43:00
6#
回复 5楼李军的帖子

请问你是用的浏览器是?我使用 Chrome 和 IE11并没有重现问题。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
李军
论坛元老   /  发表于:2014-3-12 17:55:00
7#
我们使用的时IE10,你们不是跨浏览器么,所有版本都兼容的啊 。。。。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2014-3-13 15:58:00
8#
回复 7楼李军的帖子

我使用 IE10 (浏览器模式为如图)测试,宽度设置也是生效的,请对比:



请问你的浏览器是否开了兼容模式?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部