[#3001] - doesn't apply default style to new TextField element

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

iReport doesn't apply default style to the TextField element created by dragging a Field from fields list into report band. I'm using iReport v. 2.0.5.

mattiw's picture
1
Joined: Apr 14 2008 - 9:11pm
Last seen: 2 years 4 months ago

1 Comment:

#1

I've solved this problem for me, by adding a following code to the method JReportFrame.dropNewTextField(Point newObjectOrigin, String textfieldExpression, String classExpression, String time) just before returning from the method:

re.setStyle(getReport().getDefaultStyle());

this is in line 6360 in file src\it\businesslogic\ireport\gui\JReportFrame.java
iReport ver. 2.0.5

Feedback
randomness