Get exact widget position in horizontal box

I’m also struggling with it. Could you please upload these screen shots? I know it’s been a month but I really need to get it working (rather avoiding putting this code in tick)