17 Oct 2013 3:02 AM #1
Unanswered: Reset layout
I have panel with difficult structure and on user action some new element is added/deleted.
In case after element is added scrollbar is appeared and if call method isValid for main panel then layout for new element is reseting, but if method isValid is called in case when scrollbar isn't exist everything is fine.
So, what is happening when scrollbar is appeared on form panel? Why in this case layout is should be reseted and how to avoid this situation?
17 Oct 2013 4:38 AM #2
18 Oct 2013 12:04 AM #3you can try using the doLayout method and see if it helps
18 Oct 2013 12:26 AM #4
you should call it after an item inside the form is added/deleted. it might help but it doesnt always.
18 Oct 2013 12:47 AM #5you should call it after an item inside the form is added/deleted. it might help but it doesnt always.