I use B4i 4.30.
I create a layout file containing a panel and a button.
After LoadLayout() is called, I use log() to print out 100%x, 100%y values.
Then I click the button, in the button Click event function, print out the 100%x, 100%y values again.
But the new 100%x, 100%y values are different from the old values before clicking the button.
The new 100%x, 100%y are closed to the panel size.
I have no such problem in B4A.
Please answer my question, thanks!
I create a layout file containing a panel and a button.
After LoadLayout() is called, I use log() to print out 100%x, 100%y values.
Then I click the button, in the button Click event function, print out the 100%x, 100%y values again.
But the new 100%x, 100%y values are different from the old values before clicking the button.
The new 100%x, 100%y are closed to the panel size.
I have no such problem in B4A.
Please answer my question, thanks!