Edit docking group constraints and qualify document tab behavior in IntelliJ

This commit is contained in:
2026-11-25 09:55:35 +01:00
parent dc3dd6b6be
commit 92e852e936
11 changed files with 671 additions and 156 deletions
+12
View File
@@ -55,3 +55,15 @@ In **Form controls**, choose **Tab** from the palette and **TabPane / tabs** as
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**.
### Dock group size, splitting and persistence
Open `ArchiveWindow.fxml` and select **Bindings → DataGrid / Docking → DockGroupDefinition · messages**. Select a property and use **Apply setting**. Clearing the value restores its FXML default.
| Group property | Values and effect |
| --- | --- |
| `minimumWidth`, `minimumHeight` | Finite pixel values from 0 upwards, default 80 each. Both groups and their divider must fit before a split is available. |
| `splitDirections` | `HORIZONTAL` allows left and right, `VERTICAL` allows above and below, `NONE` disables splitting and `ALL` is the default. |
| `persistent` | The default `true` keeps an empty root group available as a destination. With `false`, closing its last tab removes the group. Inside a split, the surviving sibling fills the vacated branch. |
After saving, choose **Form preview → Build and Refresh → Archiver · HTML-Dokumenttabs → Interactive preview**. Open the context menu of **Lieferschein.html** and use **Split**. Unavailable directions show the reason in the menu. Resize the window to test the minimum dimensions. To inspect persistence, move the delivery tab to `details` and close the invoice. Open **Move to** on the remaining delivery tab to see whether `messages` is still available.