Make Labels move up if other Label is disable

Stimulsoft Reports.NET discussion
Post Reply
DavidTG
Posts: 14
Joined: Sun Oct 20, 2019 11:10 pm

Make Labels move up if other Label is disable

Post by DavidTG »

I have a report with labels in rows, one after another. If some conditions are met, a Label can be disabled, so it's not shown. But the Label below it it doesn't move up and take it's place. Only a blank gap appears where the Label show be. I want the labels below the one that's disable move up and not gaps appears. Is that possible?

In this image, on the left there're the fields enabled, and on the right one there're the fields disabled, but the Labels below are not moving up, there're gaps were the hidden labels are.
hiddenfields.png
hiddenfields.png (33.98 KiB) Viewed 1226 times
Lech Kulikowski
Posts: 7345
Joined: Tue Mar 20, 2018 5:34 am

Re: Make Labels move up if other Label is disable

Post by Lech Kulikowski »

Hello,

Yes, it is possible. You can use Dock=Top and CanShrink property.

Thank you.
Attachments
DockTop.mrt
(9.72 KiB) Downloaded 243 times
Post Reply