Font size issues
andreimariusb Mar 18, 2013 4:22 AMI 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" /> </a4j:push> <rich:collapsiblePanel id="contracteAll" header="Toate Contractele" switchType="client"> <rich:dataGrid var="contract" value="#{indexController.contracteAll}" columns="6"> <rich:panel> <f:facet name="header"> <h:outputText value="Contract cu Nr. #{contract.numar}" /> </f:facet> <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}" /> </h:panelGrid> <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> #{' | '} <a4j:commandLink id="adClient" value="Adauga Client" execute="@this" render="@none" action="#{indexController.adaugaClient}" status="ajaxStatus"> <f:setPropertyActionListener target="#{indexController.contractSelectat}" value="#{contract}" /> </a4j:commandLink> </rich:panel> </rich:dataGrid> </rich:collapsiblePanel> </h:form>
Message was edited by: andreimariusb
Message was edited by: andreimariusb