Labels move up if other Label is disable

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

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?
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: 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 150 times
DavidTG
Posts: 14
Joined: Sun Oct 20, 2019 11:10 pm

Re: Labels move up if other Label is disable

Post by DavidTG »

Lech Kulikowski wrote: Sun Dec 08, 2019 9:39 pm Hello,

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

Thank you.
If I use DOCK TOP components get full width. I don't need them to be full width, but their custom width.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Labels move up if other Label is disable

Post by Lech Kulikowski »

Hello,

Please try to place it on the Panel component with necessary width.

Thank you.
DavidTG
Posts: 14
Joined: Sun Oct 20, 2019 11:10 pm

Re: Labels move up if other Label is disable

Post by DavidTG »

Ok, I did that, but when I set Dock Style to TOP labels reorder and are not placed where I did. What else do I need to change?
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Labels move up if other Label is disable

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply