I have trouble accessing/modifying values from loaded layouts:
-- Load layout
window = ui:LoadLayout(cache:GetResource("XMLFile", "UI/Master_Layout.xml"))
ui.root:AddChild(window)
-- Get 'Slider1' from layout and print its range
local slider = window:GetChild("Slider1", true)
print(slider.range)
slider.range returns nil and doesn’t update itself.
If I create the same slider from scratch (from code), I can access its values and it updates itself.