WagnerAlexandre Posted August 1, 2016 Share Posted August 1, 2016 How can I fix the problem of a second form maximized and your footer aligned components. For when Teclo F11 to full screen the form fills the whole screen but the components aligned to the bottom do not follow the resizing of the screen. Can help me, thank you. Quote Link to comment Share on other sites More sharing options...
WagnerAlexandre Posted August 2, 2016 Author Share Posted August 2, 2016 any tips on this? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 2, 2016 Share Posted August 2, 2016 Hi, Can you make a small test case for this? Best regards. Quote Link to comment Share on other sites More sharing options...
WagnerAlexandre Posted August 2, 2016 Author Share Posted August 2, 2016 casetest.7zip 1 -> click on the button2 -> F113 -> You will see that the image does not track alignment. Thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2016 Share Posted August 3, 2016 Hi, For now, maybe like this?: 1. UniForm.AlignmentControl->uniAlignmentClient 2. MainForm.Script: window.onresize = function(){ if (typeof UniForm1 !== 'undefined') { var getSize = Ext.getBody().getViewSize(), winWidth = getSize.width, winHeight = getSize.height; UniForm1.window.setHeight(winHeight); UniForm1.window.setWidth(winWidth); } } Best regards. Quote Link to comment Share on other sites More sharing options...
WagnerAlexandre Posted August 3, 2016 Author Share Posted August 3, 2016 friend, unfortunately it does not work. When you resize the image with F11 does not track alignment. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2016 Share Posted August 3, 2016 hmm, what browser are you using? I tested in Chrome and FF, and works for me Quote Link to comment Share on other sites More sharing options...
WagnerAlexandre Posted August 3, 2016 Author Share Posted August 3, 2016 Thank you friend, I had forgotten a detail. I have to do this script for each form? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2016 Share Posted August 3, 2016 Only on the MainForm, but in this script, you should consider your Forms for example for UniForm1 if (typeof UniForm1 !== 'undefined') { var getSize = Ext.getBody().getViewSize(), winWidth = getSize.width, winHeight = getSize.height; UniForm1.window.setHeight(winHeight); UniForm1.window.setWidth(winWidth); } ... Try and let me know Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.