$("#dialog-videofiles" ).dialog({
title:'选择视频文件',
height: 500,
width:500,
modal: true,
"buttons":{ "确定": function() {

},
"取消": function() {
$(this).dialog("close");
}
}
 });
这里边的title和button中的字体大小怎么设置?

解决方案 »

  1.   

    我也是最近才接触UI,觉得应该在ui.css里面默认设置好了
      

  2.   

    后面加上.dialog('setTitle','......');设置title
      

  3.   

    在 easyui.css
    .panel-header {
      color: #15428B;
      font-size: 12px;
      font-weight: bold;
      line-height: 15px;
    }
    a.l-btn {
      background: url("easyui/button_a_bg.gif") no-repeat scroll right top transparent;
      color: #000000;
      cursor: pointer;
      display: inline-block;
      font-size: 12px;
      height: 24px;
      outline: medium none;
      padding-right: 8px;
      text-decoration: none;
    }
      

  4.   

    感谢3楼的  本来是这样的  因为有jquery ui组件的影响,所有引用文件有点冲突,现在问题解决了  谢谢