1 Reply Latest reply: May 7, 2012 2:07 PM by Navaneetha Krishnan Nataraj RSS

    ADF Panel height and width Question

    raemond
      Hi Everybody,
      I am new to ADF. I want to set a panel such as panelgrouplayout to have a fix width and height eventhough there is only one outputtext. Please help!
        • 1. Re: ADF Panel height and width Question
          Navaneetha Krishnan Nataraj
          Set the height property thru inlineStyle attribute for the panelGroupLayout.

          Sample:
                <af:form id="f1">
                  <af:panelGroupLayout id="pgl1" layout="vertical"
                                       styleClass="AFStretchWidth"
                                       inlineStyle="background-color:gray;height:200px;">
                    <af:outputText value="outputText1" id="ot1"/>
                  </af:panelGroupLayout>
                  <af:outputText value="outputText2" id="ot2"/>
                </af:form>
              </af:document>
          Thanks,
          Navaneeth