# UnifiedFiler v1.9.4-fix1 Notes

This fix focuses on FilePickerDialog and FileSaverDialog usability after the optional folder tree was added.

## Main-area-first dialog layout

Picker/Saver dialogs now prioritize the central browser area. The tree/list region is the primary flex area, while toolbar, hint, footer and Save As input rows are compact fixed-height regions.

New layout options:

```javascript
{
  folderTreeWidth: 190,
  folderTreeMinWidth: 150,
  contentAreaMinHeight: 400,
  maximizeMainArea: true,
  compactToolbar: true,
  compactFooter: true,
  fitToViewport: true,
  viewportMargin: 32
}
```

## Default sizes

- FilePickerDialog: `width: 940`, `height: 680`
- FileSaverDialog: `width: 980`, `height: 720`

When `fitToViewport` is enabled, the actual jQuery UI dialog size is clamped to the current browser viewport minus `viewportMargin`.

## Compatibility

Existing Host options remain valid. Set `maximizeMainArea: false`, `compactToolbar: false`, or smaller `width` / `height` values if a Host needs the older compact dialog behavior.
