M Mike1970 Well-Known Member Licensed User Longtime User Feb 17, 2020 #1 hi, i'm trying to animate a bit my UI but i noticed that the "SetLayoutAnimated" feature doensn't work, nothing is animated at all, the only behavior is: invisible, and then after the specified time visible in the position i wanted to be. Without any animation. B4X: Copy pnlHomeContent.Left = -pnlHomeContent.Width pnlHomeContent.SetLayoutAnimated(1000, 0, 0, pnlHomeContent.Top, pnlHomeContent.Width, pnlHomeContent.Height)
hi, i'm trying to animate a bit my UI but i noticed that the "SetLayoutAnimated" feature doensn't work, nothing is animated at all, the only behavior is: invisible, and then after the specified time visible in the position i wanted to be. Without any animation. B4X: Copy pnlHomeContent.Left = -pnlHomeContent.Width pnlHomeContent.SetLayoutAnimated(1000, 0, 0, pnlHomeContent.Top, pnlHomeContent.Width, pnlHomeContent.Height)
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2020 #2 SetLayoutAnimated works properly. There is most probably a bug in your code. You should start with a new thread in the questions forum.
SetLayoutAnimated works properly. There is most probably a bug in your code. You should start with a new thread in the questions forum.