#Width is nill in regionData.region

11 messages · Page 1 of 1 (latest)

dreamy rain
#

So what im trying is to update the region width.

The method im using is regionData.region:SetRegionWidth(20)

This says that width in Icon.lua, is nill.

Anyone that knows what to do?

gritty hearth
#

Where and why?

dreamy rain
#

I am trying to make a multi row dynamic group

I start by looping throug the active regions

for i, regionData in ipairs(activeRegions) do

I then set the regionData.region to a var.

local region = regionData.region 

I then try to update the region width and height

region:SetRegionWidth(currentWidth)
region:SetRegionHeight(currentHeight)
#

This is the error:

#

Line 66 is the region:SetRegionWidth(currentWidth)

gritty hearth
#

That means you mess something up, without code there is nothing anyone can do

#

Also think about just not using code and instead use the grid view

#

Because multirow dynamic groups are a thing

dreamy rain
#

So i can do multi row dynamic groups without code?

gritty hearth
#

Yes

dreamy rain
#

Is there somewhere I can see how?