09.04.2018 Views

tornadofx-guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Layout Debugger<br />

Stop a debugging session<br />

Close the debugger window by hitting Esc and the debugger session ends. You can debug<br />

multiple scenes simultaneously, each debugging session will open a new window<br />

corresponding to the scene you debug.<br />

Configurable shortcut<br />

The default shortcut for the debugger can be changed by setting an instance of<br />

KeyCodeCombination into FX.layoutDebuggerShortcut . You can even change the shortcut<br />

while the app is running. A good place to configure the shortcut would be in the init block<br />

of your App class.<br />

Adding features<br />

While this debugger tool is in no way a replacement for Scenic View, we will add features<br />

based on reasonable feature requests. If the feature adds value for simple debugging<br />

purposes and can be implemented in a small amount of code, we will try to add it, or better<br />

248

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!