Extend ScrollingFrame limit

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    extend the limit of the scrolling frame
  2. What is the issue? Include screenshots / videos if possible!
    so I tried adding 100 values to a Scrolling frame. but only 70-94 total show when there should be 100
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried manually changing the scrolling frame limit

the function I use to add buttons

if has_value(self._names) then error("MConfig: tried to add number value, name taken") end
    local UiObj = Instance.new("TextLabel")
    UiObj.Size = UDim2.fromScale(0.8, 0.3)
    UiObj.LayoutOrder = #self._names
    UiObj.Text = "Hello Number id: "..tostring(#self._names)
    UiObj:SetAttribute("type","number")
    UiObj:SetAttribute("minmix",NumberRange.new(min,max))
    UiObj:SetAttribute("step",step)
    UiObj:SetAttribute("current", current or min)
    table.insert(self._names,name)
    UiObj.Parent = builder._ui.Values

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

2 Likes

Theres an automatic scale variable on scrolling frames, you should try that out.

(Its edited through the properties tab)

I have auto scale set. but it caps out and stops expanding at a ceartain point
even if I start manually scaling from there it wont let me get a longer window

Auto scaling disables any modifications to the frames scroll size I believe, have you tried disabling auto scaling and adding 100 onto the limit for example?

Also, if you’re using and UI spacing, thats why it doesn’t display everything, I think theres a bug where auto scaling doesn’t account for spacing.

ah if that is a bug it may be it
but it is also weird cuz it depends on the GUI scale (since I dont use any absolute sizes and instead use the scales for all my UDim2s)

2 Likes

uh yeah… cant manually scale cuz if I do I then have to manually re-scale all the blocks within the gui ;-;

Okay, I found that using a scrolling frame with:

  • A ui grid layout using scale on X and Y for sizing, and a 0.03 offset.
  • Frames with their SizeConstraint set to XX

should display everything.

I use a UIListLayout with a 0.05 offset
I set size constraing to XX and YY both cut off values 95+

Strange, I’m not sure of a solution then. Probably just an average roblox bug or something unfortunately.

1 Like

why is roblox like this
(filler text)

I’m confused… do you mean CanvasSize???

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.