Tornadofx: How i can set not movable dialog with "openInternalWindow"?

Created on 13 Dec 2018  路  3Comments  路  Source: edvin/tornadofx

I have it small code for opening internal dialog, yes, it worked normally and stable.

image

But, when i open it dialog, i can move dialog in app frame. I want to do it window no movable.

How i can make it internal window set not movable? Code of dialog view:

image

Most helpful comment

I just committed a feature that allows you to specify if you want the internal window to be movable or not. The default is still movable, but you can now do openInternalWindow<SettingsView>(movable = false).

Also note the new syntax with a type parameter instead of a class parameter. Looks much nicer :)

All 3 comments

I just committed a feature that allows you to specify if you want the internal window to be movable or not. The default is still movable, but you can now do openInternalWindow<SettingsView>(movable = false).

Also note the new syntax with a type parameter instead of a class parameter. Looks much nicer :)

Wow, so fast and cool, thanks for attention @edvin ! :), I use it ;) :+1:

My pleasure :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bastercall picture Bastercall  路  3Comments

leder11011 picture leder11011  路  5Comments

MairwunNx picture MairwunNx  路  8Comments

iwh718 picture iwh718  路  3Comments

orochies picture orochies  路  4Comments