Just having the AutomaticSize beta enabled (not used!) causes a lot of lag (skipped frames) with my components that use spring-based animation. For some reason it only affects some components… but there’s no similarity between the ones that are affected.
Without the beta enabled:
With the beta enabled:
Can provide place file upon request.
Edit: This looks to be a geometry caching issue. Whenever I move my mouse (which has a custom cursor) all animations seem to un-stick.
I have a bug to report – it looks like automatic size isn’t playing nicely with some of the other configuration objects – not sure which.
I have an image set to size 1, 0, 1, 0 which has a UIAspectRatioConstraint in it to keep it square. I laid out my frame with a UIListLayout. This is what it currently looks like:
I turned on AutomaticSize to “Y”, with the expectation that it would use the ListLayout’s absolute content size + the UIPadding to determine the height. Instead, it just squashed the image.
Anyway, I can work around this by doing my GUIs the old fashioned way, but it would be nice if layout objects were present that this would leverage them to determine the required space.
This is awesome! I have been wanting something like this for a while. I actually cancelled one of my features I was going to add into my game because there was nothing I could do unless I scripted it to resize.
Hi @Reselim - thank you for this report! Sorry I thought I had already responded to your post. Would you mind sending me a place file that repros this issue?
Hi @UFAIL2 - please retry your “simple tween” case with the latest version of Studio (v452 as of this post) and with Automatic Size on to verify that the issue no longer occurs.
I’m still in the process of investigating the SurfaceGui issue. Thank you!
I love this so much, so much time has been saved here.
This is gonna be super useful for making in-game update logs, no need to manually check textsize, y offset and whatever
Can’t wait for this to be fully released and see what others do with it
Is there any news at all on when this will be released? I’ve been waiting to use this on my inventory and a bunch of other Scrolling Frames I’m my game.
Hi @OminousVibes0@CboatDev - we expect to ship several fixes for the Automatic Size beta this week and next. Once we’ve verified all major issues are resolved, we’ll release this feature out of beta. Hopefully we’ll have some news around this soon!
Hi @CboatDev - yes! I’ll be posting a list of fixes going live this week. If there aren’t any more issues discovered, then we expect this feature to go live very soon.
ScrollingFrame’s AutomaticCanvasSize property now working.
Fixed an issue where UIListLayout with AutomaticSize and UIAspectRatioConstraint constrains the object size smaller than it should be. Reported by @blobbyblob.
Fixed an issue where UI objects marked dirty weren’t getting updated properly (this was the source of several reported bugs). Reported by @UFAIL2 (and others!).
Incoming Fixes: v459
These fixes will be available shortly after the release of v459 of Studio:
Resolved a bug that was impacting performance (even for GuiObjects not automatically sized).
Resolved an issue where padding of automatically sized hierarchies wasn’t properly accounted for. Reported by @rogeriodec_games.
Resolved an issue with UIGridLayout and UIAspectRatioConstraint where frames were being sized smaller than they should.
Fixed a couple issues with automatic size and rich text where available space of an automatically sized object wasn’t being used correctly and sizing events were improperly queued.
Resolved an issue with UIListLayout and scaled padding for automatically sized elements.
Fixed an issue where a GuiObject with automatic size could be sized smaller than the GuiObject’s own Size property (the Size property acts as a ‘min’ for automatic size).
Known issues (updated)
Please be aware of these issues, however they will not block the release of automatic size:
ScrollingFrame’s with AutomaticSize and AutomaticCanvasSize may overflow their parent bounds.
Improper positioning of automatically sized GuiObjects with inset and middle borders. Reported by @TheCarbyneUniverse .