5 Replies Latest reply on May 11, 2013 4:45 PM by andreimariusb

    Font size issues

    andreimariusb Newbie

      I have issues with the font size. Because of this I can't use EAP Alpha.

      I am using RichFaces 4.3.1.Final.


      The same EAR app in JBoss EAP Alpha has a huge font size compared to when it is run in JBoss AS 7.


      Any solution (except manually changing the font-size) ?


      Edit for clarification:


      I am talking about the default font-size in RichFaces (which is 11px). The theme used is the dafault one.


      For example, the following code renders the header, the outputLabel and the outputText in about 14, 16 px:

      I have also set in css, so my notifyMessages have a smaller font but in EAP it is ignored (in AS 7 works as expected) - with or without "!important":


      The only font-size that is kept the same, are those for the rich:panel header, the rich:toolbar with rich:dropDownMenu items and the links / buttons.

      body { font-size: 0.7em; }


      <h:form id="form">
                                    <a4j:push address="modificat">
                                              <a4j:ajax event="dataavailable" render="contracteAll" />
                                    <rich:collapsiblePanel id="contracteAll" header="Toate Contractele" switchType="client">
                                              <rich:dataGrid var="contract" value="#{indexController.contracteAll}" columns="6">
                                                                  <f:facet name="header">
                                                                            <h:outputText value="Contract cu Nr. #{contract.numar}" />
                                                                  <h:panelGrid columns="2">
                                                                            <!-- Nr Contract -->
                                                                            <h:outputLabel for="nrContract" value="Nr Contract:" styleClass="labelStyle" />
                                                                            <h:outputText id="nrContract" label="Nr Contract" value="#{contract.numar}" />
                                                                  <a4j:commandLink id="afContract" value="Afiseaza Contract" execute="@this"
                                                                            render="@none" action="#{indexController.informatiiContract}" status="ajaxStatus">
                                                                            <f:setPropertyActionListener target="#{indexController.contractSelectat}" value="#{contract}" />
                                                                  #{' | '}
                                                                  <a4j:commandLink id="adClient" value="Adauga Client" execute="@this" render="@none"
                                                                            action="#{indexController.adaugaClient}" status="ajaxStatus">
                                                                            <f:setPropertyActionListener target="#{indexController.contractSelectat}" value="#{contract}" />





      Message was edited by: andreimariusb


      Message was edited by: andreimariusb