meason Posted May 3, 2019 Share Posted May 3, 2019 How do I make runtime changes to the LayoutAttrib.pack and LayoutAttrib.align take effect? I have Delphi code to change them but it doesn't do anything. I read the above link but I have no idea of what to write to change the pack and align properties. Is there some documentation about how JSAssign / JSCall work and what properties they take, even if it's a reference to Sencha, that might help. Based on the above I tried: UniPanel8.LayoutAttribs.Pack := cbPack.Text; UniPanel8.LayoutAttribs.Align := cbAlign.Text; UniPanel8.JSInterface.JSCall('doLayout', ); Doing the above gives error O4B.doLayout is not a function _rsov_(O69,0);O4B.doLayout(); I'm currently on 22.214.171.1245 and ExtJS set to 6.7.0 Can someone point me in the right direction please? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.