0

我在 Uibinder 创建了一个 Datebox 。

       <d:DateBox ui:field="completedDate"></d:DateBox>

并且没有为此定义任何CSS

我在 Firefox 中的 Chrome 中得到一个白色背景的日期框,没有任何格式,它很好..

我已经一一尝试了所有这些,也一起尝试了所有这些,但在 Chrome 中没有运气。

        <inherits name='com.google.gwt.user.theme.clean.Clean'/> 
        <inherits name='com.google.gwt.user.theme.standard.Standard'/>  
        <inherits name='com.google.gwt.user.theme.chrome.Chrome'/>   

任何的想法

或者如果有人可以给我默认的 CSS,我可以在里面添加

    .gwt-DateBox{

       }

谢谢

4

1 回答 1

0

你有理由想要 chrome 中的 firefox 外观吗?

我建议定义一个适合您需要的样式并将其设置为 DateBox,这样您就可以为各种浏览器提供独特的外观。

也许看看文本框的这个问题: 默认文本框边框样式和宽度

于 2012-09-18T12:43:01.597 回答