Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Canvas Appears Outside of ScrollingFrame?

I was creating a ScrollingFrame. This allows me to cram a lot of stuff in one gui and then pan around to see it's content.

Normally, the only content that you can see within a ScrollingFrame is the stuff that is visible within the window of the ScrollingFrame Gui. It's like a slice out of a huge canvas. However, I have encountered a problem in which everything in the ScrollingGUI appears at once outside of the window of the ScrollingFrame Gui

I am very confused by this error. I have reproduced the situation with similar parameters and got different results - results in which this error did not happen.

If anyone knows anything about this error, please share.

2 answers

What it appears to be, is that you have the Gui Rotated. A ScrollingFrame has a property called "ClipsDescendants" which only works when the object is not rotated. Even if the object is on another rotated object, but has a Rotation Value of 0, it counts as rotated.

This ClipsDescendants property allows items in the canvas to be hidden or not hidden. If there is rotation, ClipsDescendants will not work, and everything will appear at once like specified in the problem

First, I don't know what canvas is but did you put the stuff inside the Scrolling Frame? Explain what stuff and also tell me the order, Example;

Inside the ScrollingFrame; TextLabel Frames etc.

You might have made the ScrollingFrames Transparency to 1 so check that.

Please explain the only answer is can say is You might have made the ScrollingFrames Transparency to 1 so check that.

Comment

2 comments

0

I rotated the Gui without realizing that doing so takes away the ClipsDescendants Property

0

Ok, I tried to help

This discussion is preserved as it was. New answers, comments, and votes are closed.