ThinkSharp.FeatureTour icon indicating copy to clipboard operation
ThinkSharp.FeatureTour copied to clipboard

Popup position on window resize/move

Open jirigargas opened this issue 6 years ago • 1 comments

Hi, I have an issue with proper position of the tour popup when hosting window's size changes or when it's being moved to another position.

I tried demo app and everything works fine there, but when I prepared the most simplest test app of mine, nothing works as it should.

Check this - app on normal start looks good image

but when I move window popup does not move with the attached element image

It behaves the same when I resize the window.

Here's demo app FeatureTourTest.zip

Can you help me please? What have I done wrong?

Edit: I have just noticed that when I use button placed directly into window element it works, but when I use button placed in usercontrol that is placed in the window it does not. Is there any way how to make Tour working from user controls?

jirigargas avatar Jun 04 '19 04:06 jirigargas

I had the same problem because the window was not active, when the tour was launched. I had to modify the code to manually force my window to be used as parent (and not let the library search for active windows).

mystery123sk avatar Aug 04 '21 14:08 mystery123sk