Draft: Add option to show close actions in windows to icon as header
What does this MR do?
Adds an option to move close actions in a windowed task to an icon in the header:
This is similar to what is possible in tab sets. (I used a different layout because it has to stand next to an optional secondary icon.)
Related issues
Changes to public APIs
-
ToWindow
andtoWindow
now have an additionalBool
argument. - The default behavior (
InWindow
etc.) is unchanged.
Author's checklist (required)
See CONTRIBUTING.md for the rationale behind these items:
-
The commit history does not contain merges (use git rebase -i master
if it does) -
Intermediate commits compile (use git rebase -i master
if not) -
Newly added code follows the Platform code style -
Newly added code is documented -
If bugs have been solved, tests have been added -
Appropriate types have been used, especially in APIs -
If efficiency is part of the acceptance criteria of the issue, a benchmark is provided -
A changelog entry has been added if required. See CONTRIBUTING.md