August 12, 201510 yr Is there a function that I can use that will return the width of a specified Layout and NOT the current window width? I'm running into layout sizing issues and want to create a way to resize a window but only if the destination layout is larger than the layout that I am coming from. I'd like to avoid having to Resize the window to get the Layout width.
August 13, 201510 yr Hey James,Create an invisible box or line on your layout, stretch horizontally the width of your layout, then name the object "width_box". Mae sure it is butted up to left edge and the right anchor is not checked (not to stretch with window change)Now you can use:GetLayoutObjectAttribute ( "width_box" ; "width" )to grab the actual width of the layout.Does that work? If not, more details. Edited August 13, 201510 yr by dwdata
Create an account or sign in to comment