ComponentStyle and UseParentStyles

Stimulsoft Reports.NET discussion
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

ComponentStyle and UseParentStyles

Post by MatthiasU »

Hi,

something goes wrong in the following scenario:
1) add a band to your report
2) add a text item to this band
3) assign a component style to the band
4) set UseParentStyle to TRUE for the text item

=> although, AllowUseHor/VertAlignment is set to false in the band style, it will be used for the text item
=> the CanGrow property of the text item did not work properly in this scenario

5) assign a component style to the text item

=> text style will be ignored, because of UseParentStyle is still set to true (but not visible in property grid)


Can you fix these issues please?


Many Thanks & Regards,
Matthias
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: ComponentStyle and UseParentStyles

Post by MatthiasU »

Additionial information for better reproduction of the CanGrow issue:
the band style was set as follows:
1) VertAlignment = Bottom
2) AllowUseVertAlignment = True
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ComponentStyle and UseParentStyles

Post by HighAley »

Hello.

Sorry, we can't reproduce the issue.
Could you send us a report template that reproduces the issue?

Thank you.
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: ComponentStyle and UseParentStyles

Post by MatthiasU »

Hello,

please see attachement (created with v2016.1.17).

Regards,
Matthias Ullmann
Attachments
StyleIssue.mrt
(4.67 KiB) Downloaded 298 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ComponentStyle and UseParentStyles

Post by HighAley »

Hello.

Thank you for the sample.
We have reproduced the issue.
We will let you know when we have made an improvement.

Thank you.
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: ComponentStyle and UseParentStyles

Post by MatthiasU »

Hello,

any news about this issue?


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

Re: ComponentStyle and UseParentStyles

Post by HighAley »

Hello, Matthias.

We are still working on your issue.
We will let you know when we get any result.
Our internal ticket number is #2796.

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

Re: ComponentStyle and UseParentStyles

Post by HighAley »

Hello.

We are sorry to inform you that we will not do any changes with UseParentStyle property.
There could be much issues with backward compatibility. It works "as is".

Thank you.
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: ComponentStyle and UseParentStyles

Post by MatthiasU »

Hello,

what of the issues can't you fix because of backward compatibility? I don't understand your argument. The behaviour is wrong, existing reports either don't use it or they use a workaround. Not really a reason to not correct an issue... Any changes are documented in your release notes (maybe add an extra warning). Before changing the release, I read the change notes and check at least the changes, which are critical for my reports. And every report developer should do the same. Sometimes, you have to make some changes to be compatible with the latest version. That's the work life of a developer. But it's really hard to fight against the same bugs, again and again, just because of the software developer can't or won't fix them!



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

Re: ComponentStyle and UseParentStyles

Post by HighAley »

Dear Matthias,

You issue is very complex and we affraid of making changes that could cause issues for our other customers.
We will try to do something. Could you confirm your issues:
1. Use Parent Style property is not visible when Component Style is selected.
2. The Style of the parant component that has Allow use ... property set to False is applied to the component.
3.The Can Grow property does not work when the Parent Style is applied.

Are these issues all that you have?

Thank you.
Post Reply