Primefaces更改面板图标

时间:2015-08-31 05:02:28

标签: jsf-2 primefaces

我正在使用 Primefaces toggleable Panel

<w:styles  xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  <w:docDefaults>
    <w:rPrDefault>
      <w:rPr>

面板展开时间必须显示图标 <p:panel id="toggleable" header="Toggleable" toggleable="true" closable="true" toggleSpeed="500" closeSpeed="500" widgetVar="panel" style="margin-bottom:20px"> ...... </p:panel>

展示ui-icon-minusthick的展开时间。

我需要将ui-icon-plusthick更改为ui-icon-plusthick

怎么做?,请帮忙

1 个答案:

答案 0 :(得分:0)

将此CSS添加到您的页面:

.marker .ui-icon-closethick{
    background-position: -16px -80px;
}

此面板组件的属性:

styleClass="marker"