Views
3 months ago

tornadofx-guide

7. Layouts and Menus The

7. Layouts and Menus The drawer can be configured to show the buttons on the right side, and you can choose to support opening multiple drawer items simultaneously. When running in multiselect mode, a header will appear above the content, which will help to distinguish the items in the content area. You can control the header appearance with the boolean showHeader parameter. It will default true when multiselect is enabled and false otherwise. 118

7. Layouts and Menus drawer(side = Side.RIGHT, multiselect = true) { } // Everything else is identical Figure 7.20 Drawer with buttons on the right side, multiselect mode and title panes When the Drawer is added next to something, you can choose whether the content area of the Drawer should displace the nodes next to it (default) or float over it. The floatingContent property is by default false, causing the Drawer to displace the content 119

Guide
Guide
GUIDE
Guide
Guide
GUIDE
Guide
GUIDE
Guide
GUIDE
GUIDE
GUIDE