I also notice that with the 1.0.4 update, the refresh type gets changed to "Manual", so no updates take place.
OnChange mode doesn't work using initially hidden hierarchies and prefabs.
I'm not trying to offend you, just trying to offer some constructive criticism. You market this as a "Professional" tool, and as such, it needs the effort associated with a professional tool. This means you need to do full testing of changes, including edge cases and various scenarios, as well as regression testing so that you do not break existing projects when you post an update.
You have been very responsive to issues, which is VERY MUCH appreciated. You just need to spend more time verifying that changes work as expected and don't break other features or behavior of existing code.
dtappe Hi! Thanks for the feedback and new demo.
I tested my changes against my demo scenes and didn't notice issues. Now bugs and edge cases will always happen so that's why I opened this support forum and try to fix bugs as quick as possible.
Switching the refresh mode to manual on sub containers is a new feature to cascade the Resize() from parent to sub containers as you suggested.
I will look into your demo asap.
thanks!
ok so it turns out that this was causing the issue:
ResponsiveContainer parentRC = transform.parent.GetComponent<ResponsiveContainer>(); if (parentRC != null) { refreshType = RefreshType.Manual; }
Anthony,
I figured that was an issue. Seemed like changing to "Manual" mode behavior should be more of a run time thing and not changing actual configuration. For me, "Manual" should mean that the user is responsible for calling Resize, not some other mode.
Also FYI, on the above video, the button text is also not showing for the blue button. I believe this is also a responsive UI issue.
Sorry for the late response, I somehow missed your post notification.
Anthony I'm not seeing NaN's anymore since I:
- Fixed divide by 0 and negative value issues with CalculateSpaceBetweenItemsY, CalculateSpaceBetweenItemsX, CalculateFlexibleItemSpaceX, and CalculateFlexibleItemSpaceY.
- Stopped mixing Responsive components with Layout groups and Rect Transform STRETCH.
- Reverted all overrides on Canvas prefab instances.
I have stopped using OnChange for now, but I can send you what I have changed based off v1.0.3, if you tell me where to send it.
Anthony OK. Just let me know if you want to see my changes. There was more than just the /0. I also added a simple hash return to GetChildrenFirstDepth, so that if one child was hidden and another made visible, thus the same childe count, but different children, could be detected to do a forced resize.