text on two columns in a header band

Stimulsoft Reports.NET discussion
Post Reply
alepage
Posts: 56
Joined: Mon Jan 19, 2009 7:02 am
Location: France

text on two columns in a header band

Post 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 10007 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 10007 times
My report is attached to the post.


Best regards,
Arnaud
Attachments
frfr_archedi.mrt
(58.68 KiB) Downloaded 25 times
Lech Kulikowski
Posts: 7122
Joined: Tue Mar 20, 2018 5:34 am

Re: text on two columns in a header band

Post by Lech Kulikowski »

Hello,

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

Thank you.
alepage
Posts: 56
Joined: Mon Jan 19, 2009 7:02 am
Location: France

Re: text on two columns in a header band

Post 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 9961 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 9961 times
I forgot to specify that the text can be different from an edition to another.

Thank you
alepage
Posts: 56
Joined: Mon Jan 19, 2009 7:02 am
Location: France

Re: text on two columns in a header band

Post 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 9939 times
But as you can see, the text shrink to fit only on the second text.

Thanks
Lech Kulikowski
Posts: 7122
Joined: Tue Mar 20, 2018 5:34 am

Re: text on two columns in a header band

Post by Lech Kulikowski »

Hello,

Please send the modified report with test data for analysis.

Thank you.
Post Reply