Download

Get widget size

Hey, I am trying to get my vertical box widget size.
I have tried GetDesiredSize function but it is not the real size, it represents the size considered its children, what I want is the “borders” size which I setted in the widget blueprint:

How can I get it?

hi darkstorm you can cast to UCanvasPanelSlot and find the size or if is the root cast to UWidgetBlueprint and ask for the editor time size but I have no idea if is usable in package