picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.52k stars 319 forks source link

Unsaved indicator for DocumentControl #2626

Closed ievgen-baida closed 4 months ago

ievgen-baida commented 4 months ago

This PR adds possibility to mark individual document page as one having unsaved changes (HasUnsavedChanges). Such page would then be rendered with a little round indicator after the name of the document. The color can be configured using UnsavedBackgroundColor property.

Also, the calculations and drawing for each tab in ThemedDocumentControlHandler have been refactored:

cwensley commented 4 months ago

Looks great, @ievgen-baida! Thanks for the contribution.