Problem to solve:
Word processing application
The application displays text in a window.
If the text fits into the view, the window has no scroll bars.
Otherwise, scroll bars are added to the view.
Additional window decorations may be required, such as a border with particular thickness.
How could we add dynamic view functionality to our design?