dmitiry.malayev Posted August 14 Share Posted August 14 Hello I am trying to make the height of my static text field align with my text field<frame> <reportElement positionType="Float" x="0" y="353" width="988" height="30" uuid="9e30821e-0d6a-4905-b660-20a701e9ce5f"/> <staticText> <reportElement positionType="Float" x="0" y="0" width="300" height="30" uuid="a8d9f08e-0d3f-41d1-b0e1-f8585932d957"> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> </reportElement> <box topPadding="5" leftPadding="10" bottomPadding="5" rightPadding="10"> <pen lineWidth="0.0" lineColor="#0544FF"/> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> </box> <textElement textAlignment="Left"> <font fontName="SansSerif" size="12" isBold="true"/> </textElement> <text><![CDATA[street Address:]]></text> </staticText> <textField textAdjust="StretchHeight"> <reportElement positionType="Float" x="300" y="0" width="688" height="30" uuid="72eb652e-eec4-4a71-a8e7-1c587a8b13e1"> <property name="com.jaspersoft.studio.unit.x" value="px"/> </reportElement> <box topPadding="5" leftPadding="10" bottomPadding="5" rightPadding="10"> <pen lineWidth="0.0" lineColor="#0544FF"/> <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#0533ED"/> </box> <textElement textAlignment="Left"> <font fontName="SansSerif" size="12" isBold="false"/> </textElement> <textFieldExpression><![CDATA[$P{streetAddress}]]></textFieldExpression> </textField></frame> Link to comment Share on other sites More sharing options...
anish.rai Posted August 16 Share Posted August 16 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
akkhedka Posted August 17 Share Posted August 17 Hello, Can you please provide me the complete report JRXML or report export? Also please elaborate your requirement/issue in more details. Link to comment Share on other sites More sharing options...
rpachipu Posted August 25 Share Posted August 25 Make the strech type to ContainerHeight of static text. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now