Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlling dialogs position before its shown #1136

Open
zeljkosh opened this issue Dec 20, 2019 · 0 comments
Open

Controlling dialogs position before its shown #1136

zeljkosh opened this issue Dec 20, 2019 · 0 comments

Comments

@zeljkosh
Copy link

Is there a way to accomplish this using standard tornadofx dialog builder ?
The only way i accomplished something remotely close to this is , using

 this.layoutX = 200.0 //any double value
 this.layoutX = 200.0 //any double value

What this does is the windows shows up on its desired position first, then the settings are applied and dialog is in the position i want it.

Perhaps creating separate dialog then setting up desired position and then calling show method would be better, but still it kinda feels strange that position cant be set before the dialog is shown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant