Align Labels in center, dynamically on report, at run time.

Stimulsoft Reports.WEB discussion
Post Reply
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Align Labels in center, dynamically on report, at run time.

Post by nicegaurav »

I have bulk of data than report display in correct format (left to right) but if i got less data from the database, it start from the left and the right portion remain blank, this is looking bad.

Can we adjust all the fields little to the right, however report will start from the center and the blank spaces are equal on the both sides.

This is urgent....

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Align Labels in center, dynamically on report, at run ti

Post by HighAley »

Hello.

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details with examples?

Thank you.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Align Labels in center, dynamically on report, at run ti

Post by nicegaurav »

well the problem which I am facing is..

I have a single page portrait report and there is 4 columns with data, on to the report(.mrt file). Left and right margins are equal, it starts from the left and goes to the right end. In case from database data comes for 3 columns, then it also starts from the left as before and not goes to the right ends.

The main problem is that data is not aligned in proper way, if less data comes than it should automatically adjust left and right margins. Like first column should start little ahead from the left.

Plz help me out..
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Align Labels in center, dynamically on report, at run ti

Post by Alex K. »

Hello,

Please try to use the AutoWidth and DockStyle=Left ptoperties for Text component.

Thank you.
Post Reply