(Run in play solo test mode to see the issue)
This is a reduction of code/UI I’m using in a project.
There is code which resizes an inner container relative to the size of an outer container.
The contents of the inner container with size set to UDim2.new(1, 0, 0, 100) displays incorrectly such that it takes up less than 100% of the width of the container.
It was working fine last week and over the weekend until some point yesterday, and I didn’t make any code changes to this area of the code since. My code doesn’t touch the sizes of the inner contents so shouldn’t be an issue.
I’m not sure what is exactly causing this issue but I think it might be when a parent frame is resized while a child frame has Visible set to false. In the demonstration you will see the first prompt while resizing happens is fine, it being the latter ones which are affected.
Interestingly the Frame with the same parent, has X Scale set to 1 too, and is fine.
System Information: Windows 10 Desktop, AMD A10-5700, 16GB RAM, NVIDIA GeForce GT 1030.
I expect the TextLabel to take up 100% of the width of the parent.
The TextLabel is only taking up some of the space of the child container, I think it might be the total size before the parent size was changed but am not 100% sure on this.
Issue Area: Engine
Issue Type: Display
Date First Experienced: 2021-07-26 14:07:00 (+01:00)
Date Last Experienced: 2021-07-27 20:07:00 (+01:00)