Page 1 of 1

text on two columns in a header band

Posted: Wed Mar 12, 2025 9:24 am
by alepage
Hi,

In my report, i try to present a text zone on two columns in a header band.

In the capture below, the header band is filled with black rear diagonals, a panel with two columns has been placed on this header band, filled with orange rear diagonals. At last, a blue text zone is placed in this panel.
question_stimulsoft.png
question_stimulsoft.png (79.89 KiB) Viewed 20059 times
I don't want the header band or the panel to grow, but the text can shrink to fit, but must spread on two columns before.

But I don't have the exepected result. The panel is growing and go below the next bands in my preview.
question_stimulsoft_result.png
question_stimulsoft_result.png (68.95 KiB) Viewed 20059 times
My report is attached to the post.


Best regards,
Arnaud

Re: text on two columns in a header band

Posted: Wed Mar 12, 2025 10:17 am
by Lech Kulikowski
Hello,

Please try to set the CanGrow=true for the HeaderBand2 component.

Thank you.

Re: text on two columns in a header band

Posted: Wed Mar 12, 2025 10:55 am
by alepage
Thanks for your replyu Lech,

I try your solution, but the result is still not what I expected :
headerband_cangrow.png
headerband_cangrow.png (57.99 KiB) Viewed 20013 times
I try to apply the same parameter on the panel, but the text is still not spreading on two columns.
panel_cangrow.png
panel_cangrow.png (46.98 KiB) Viewed 20013 times
I forgot to specify that the text can be different from an edition to another.

Thank you

Re: text on two columns in a header band

Posted: Wed Mar 12, 2025 11:19 am
by alepage
At last, I found this solution which is not perfect.
I use a second text in my header band, and i use the render to property on the first text, with the propery "shrink font to fit" on both text.
text_renderto.png
text_renderto.png (47.86 KiB) Viewed 19991 times
But as you can see, the text shrink to fit only on the second text.

Thanks

Re: text on two columns in a header band

Posted: Thu Mar 13, 2025 1:31 pm
by Lech Kulikowski
Hello,

Please send the modified report with test data for analysis.

Thank you.