CanGrow vs. CanShrink

Stimulsoft Reports.WPF discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow vs. CanShrink

Post by LukasT »

Hello,
I have three Texts above each other with absolute positions and second has CanGrow. If content in second Text is higher than its height, it increase height and third Text position is changed. Why it is not the same in case of CanShrink? I am expecting that if Text has no content, its height is zero and position of next third Text is changed to position of second Text (somethig like "AutoHeight").... This incompatibility has no workaround in our reports in case of absolute positioning...
... example is attached
Attachments
1562.canGrow_vs_canShrink.mrt
(6.64 KiB) Downloaded 297 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

CanGrow vs. CanShrink

Post by Ivan »

Hello,

Please set the ShiftMode property of the Text6 component to "Increasing Size, Decreasing Size".

Thank you.
Attachments
1563.canGrow_vs_canShrink.zip
(1.61 KiB) Downloaded 240 times
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow vs. CanShrink

Post by LukasT »

Thank you Ivan,
that is exactly what I need ;-)
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

CanGrow vs. CanShrink

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply