jasperreports
jasperreports copied to clipboard
When Frame's Layout Set to Vertical Layout And Stretch Type to Anything Other Then No Stretch Then The Immediate Child Elements Wont Grow Equally...
This is my jasper
<!-- Created with Jaspersoft Studio version 7.0.3.final using JasperReports Library version 7.0.3-41034ca841d452f3305ba55b9042260aaa1ab5dd -->
<jasperReport name="Test" language="java" columnCount="1" pageWidth="320" pageHeight="320" orientation="Landscape" columnWidth="280" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="4bc5b039-372d-44d5-a741-1552bf248d67">
<property name="com.jaspersoft.studio.unit." value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
<style name="Table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<dataset name="Test" uuid="51f48e3c-484b-4206-94b4-c08b06d6eca9">
<query language="sql"><![CDATA[]]></query>
<field name="id" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="description" class="java.lang.String"/>
</dataset>
<parameter name="TEST_TABLE" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
<parameter name="Pera" class="java.lang.String"/>
<query language="sql"><![CDATA[]]></query>
<detail>
<band height="180" splitType="Stretch">
<element kind="frame" uuid="4d903563-1206-4ccc-8d0b-b18387f9b7f3" x="0" y="0" width="280" height="180">
<element kind="frame" uuid="04c97d14-8a88-4fb9-afb2-76e16daf0361" x="0" y="0" width="180" height="180">
<element kind="textField" uuid="622ed831-9459-4aa6-83c4-4c2982199d72" x="0" y="0" width="180" height="180" fontName="SansSerif" fontSize="14.0" textAdjust="StretchHeight">
<expression><![CDATA[$P{Pera}]]></expression>
</element>
</element>
<element kind="frame" uuid="e6957256-ec6d-402c-afc0-0cfcb047ac8c" stretchType="ContainerHeight" x="180" y="0" width="100" height="180">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
<element kind="frame" uuid="9f0b7f64-df48-44aa-9827-6e7aae6a08ce" mode="Opaque" x="0" y="0" width="100" height="90" backcolor="#F21FA5"/>
<element kind="frame" uuid="3d80dfd5-30a3-454f-80c4-31c3a2053722" mode="Opaque" x="0" y="90" width="100" height="90" backcolor="#640DDE"/>
</element>
</element>
</band>
</detail>
</jasperReport>