Report variable width

Stimulsoft Reports.WPF discussion
Post Reply
RDR_Norkart
Posts: 46
Joined: Thu Jan 10, 2013 11:40 am

Report variable width

Post by RDR_Norkart »

I have a string variable in my report that displays a text.
The variable displays as a variable-dropdownbox when running the report.

When the dropdownbox is open the entire text is shown, but when you select an item it cut’s the text in half.
(The width of the variable-dropdownbox seems to be set to a default value…I would expect the width to be dynamic)

I there a setting that allows you to change the width of the variable-dropdownbox, or do you have any other suggestions on how I can fix this?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Report variable width

Post by Alex K. »

Hello,

As a way, you can set the Width of Text component in the BeginRender event.

Thank you.
Attachments
ReportSample.mrt
(3.53 KiB) Downloaded 335 times
terjoh
Posts: 6
Joined: Fri May 09, 2014 9:29 am

Re: Report variable width

Post by terjoh »

Hi,

I tried your suggestion, but my variable has DataSource = DataColumns, not Items.
So it renders as a dropdownbox not as a textbox.
I copied Text1 from your example and changed the variable-name to match mine, but the dropdown width was not increased.

Could you create another example, or explain in more detail how I should do this?
terjoh
Posts: 6
Joined: Fri May 09, 2014 9:29 am

Re: Report variable width

Post by terjoh »

Just to clarify: The variable I would like to increase the width for is displayed as a dropdown in the report parameters panel ("Request from user panel")
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report variable width

Post by HighAley »

Hello.

Unfortunately, it's impossible now.
If you need this feature and you are a registered user, please, send a request to support@stimulsoft.com.

Thank you.
Post Reply