Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper Community 5.6.0 Unable To AutoSize Height


rmoyers

Recommended Posts

Report with long text does not stretch vertically. jrxml show below. Am using isStretchWithOverflow="true" and band has splitType="Stretch"

When band height is increased to 30, I can see that the textField is not stretching.

    <detail>
        <band height="12" splitType="Stretch">
            <textField isStretchWithOverflow="true" isBlankWhenNull="true">
                <reportElement stretchType="RelativeToTallestObject" x="472" y="0" width="260" height="10" uuid="f3d59f8e-c015-4afa-b748-f72691d7014f">
                    <property name="local_mesure_unitx" value="pixel"/>
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="local_mesure_unitwidth" value="pixel"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="local_mesure_unity" value="pixel"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                </reportElement>
                <textElement>
                    <font fontName="Consolas" size="8" pdfFontName="Courier"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{messageText}]]></textFieldExpression>
            </textField>
        </band>
    </detail>

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...