vendredi 9 août 2019

Make new dialog to the right side of parent, if moved keep it there

I have a Dialog (_dialog) that is being created on top of a another dialog (_ui). _dialog is created from a button being clicked on _ui. I want this to be created on the right edge of _ui and move if _ui is moved.

I have tried using geometry(), but I was unable to find a way to get the location of the right side of _ui.

What can I do to get the value to represent the location on the x axis so I could start the new dialog with it and then have it continue to move as it is changed? Or is there a better method to be using?

Aucun commentaire:

Enregistrer un commentaire