Edit single content slots, tab and split layouts, and grid setup declarations
This commit is contained in:
@@ -45,3 +45,13 @@ Errors block new previews; warnings remain visible and permit preview. Stale dia
|
||||
In **Form controls**, select a control and property. **Set property** writes the FXML attribute. **Reset property** removes it and restores its JavaFX default. The accessible name is inherited from Node. Text fields including AutoCompleteTextField accept a non-negative integer for `prefColumnCount`. Layout results such as `width` are read-only.
|
||||
|
||||
After **Build and Refresh**, select `onAction` on a supported action control, `onDismiss` on ToolBarPane, or `onRemove` on TagChip. Choose a compiled controller method in the list, or enter its `#method` reference and select **Set property**. The target checks accessible no-argument methods and methods accepting ActionEvent or Event, including inherited and FXML-annotated handlers. Without current controller metadata the inspector indicates that a build is needed for method checking. Undo, Redo and Save use the same FXML document as the bindings editor.
|
||||
|
||||
### Tabs, split panes and border panes
|
||||
|
||||
In **Form controls**, choose **Tab** from the palette and **TabPane / tabs** as the destination. Set its text under **Selected control**. Select **Tab / content** to add a layout or a ScrollPane. Each Tab, ScrollPane and named BorderPane region has one content slot. The inspector shows its occupant. To reuse an occupied slot, move its existing control to a free destination first. **Move to destination** keeps the subtree, its identifiers, event handlers and bindings together. For **SplitPane / items**, **Position** is the zero-based insertion index.
|
||||
|
||||
### Grid setups and group headings
|
||||
|
||||
Under **Bindings → DataGrid / Docking**, select the grid to edit `setupId` or `setupVersion`. Clear the field and use **Apply setting** to restore the default. Persisted settings identify the grid by its setup ID. Restoring an older definition version requires a migration for that version.
|
||||
|
||||
Select a column and set `fixedPosition` to its current zero-based index. Clear the field or enter `-1` to make it movable. Under `groupLabels`, select or enter a literal FXML map key and its display text, then use **Set group label** or **Remove group label**. For the Archiver folder example, group by `folder` and label `Post` as **Posteingang**. Collapsing that heading still stores the key `Post`. Keys represented by resource references or nested declarations can be reviewed in **Source**.
|
||||
|
||||
Reference in New Issue
Block a user