Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7086933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:36:41+00:00 2026-05-28T07:36:41+00:00

I use iReport to create reports, and I would like to know if there

  • 0

I use iReport to create reports, and I would like to know if there is a way to set the width of “optically grouped fields”. They should be set to the minimal size that still displays longest text. I have Static Text on left side and Text Field right of them. This Text Fields are set to the width 150 and alignment to right, but I’d like to set smaller size to wipe out white spaces.

Consider some thing like this

   Name:            Paul
Surname:         Smither  

And want automatically to

   Name:    Paul
Surname: Smither 

etc. can be smaller then preset size but no bigger.

Is there a way?? even some component

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:36:42+00:00Added an answer on May 28, 2026 at 7:36 am

    You cannot change the element width dynamically without using Java frameworks.

    The quote from JasperReports Ultimate Guide:

    ELEMENT SIZE

    The width and height attributes are mandatory and represent the size
    of the report element measured in pixels. Other element stretching
    settings may instruct the reporting engine to ignore the specified
    element height. Even in this case, the attributes remain mandatory
    since even when the height is calculated dynamically, the element will
    not be smaller than the originally specified height.

    You can read this article for better understanding the mechanism of changing the element size.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Use Case: Would like to use IReport to Label item sold in my shop.
Ok when im gonna make reports with Java I use iReport for JasperReports Template
Is there a way to force use of a named route in ASP.NET MVC
Could somebody please tell me how I can configure iReport 3.5 (nb) to use
I have a report created in iReport. Have a parameter set with isForPrompting=true. When
I have a simple customers table designed this way (I report only some fields,
i try to use PieChart in iReport but labels are not visible... only the
Is it possible to use variables ,that are defined in crosstab like total measure
We use iReport to enable our customers to generate catalogs for print for their
I want to use a pie chart per group in Jasper iReport, but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.