Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #255 - Add a new document by double-clicking on the toolbar #429

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jboinembalome
Copy link
Contributor

Fix #255 - Added the ability to create a new document by double clicking on the toolbar

To add this feature, I took the default DocumentPaneControlStyle from Dirkster99/AvalonDock/Themes/generic.xaml to bind the NewDocumentCommand.
Morever, I also changed the toolbar colour by "LightGray". However I can update this if you wish ;)

@aelij
Copy link
Member

aelij commented Jul 1, 2022

Thanks for the contribution!
But I would rather not copy the entire XAML style for the doc just to add this behavior? Can't this be done from code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new document button to toolbar
2 participants