mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 11:16:59 -04:00
Add IsDefault and IsCancel for all dialog buttons
This commit is contained in:
parent
1f36fb608a
commit
bb2b04d2e5
4 changed files with 8 additions and 1 deletions
|
@ -19,6 +19,8 @@ UserControl "DiscordChatExporter.Gui.Views.ErrorDialog" {
|
|||
Command: DialogHost.CloseDialogCommand
|
||||
Content: "OK"
|
||||
HorizontalAlignment: Right
|
||||
IsDefault: true
|
||||
IsCancel: true
|
||||
Style: resource dyn "MaterialDesignFlatButton"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,8 @@ UserControl "DiscordChatExporter.Gui.Views.ExportDoneDialog" {
|
|||
Margin: 8
|
||||
Click: OpenButton_Click
|
||||
Command: bind OpenCommand
|
||||
Content: "OPEN IT"
|
||||
Content: "OPEN"
|
||||
IsDefault: true
|
||||
Style: resource dyn "MaterialDesignFlatButton"
|
||||
}
|
||||
|
||||
|
@ -31,6 +32,7 @@ UserControl "DiscordChatExporter.Gui.Views.ExportDoneDialog" {
|
|||
Margin: 8
|
||||
Command: DialogHost.CloseDialogCommand
|
||||
Content: "DISMISS"
|
||||
IsCancel: true
|
||||
Style: resource dyn "MaterialDesignFlatButton"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,6 +81,7 @@ UserControl "DiscordChatExporter.Gui.Views.ExportSetupDialog" {
|
|||
Margin: 8
|
||||
Command: DialogHost.CloseDialogCommand
|
||||
Content: "CANCEL"
|
||||
IsCancel: true
|
||||
Style: resource dyn "MaterialDesignFlatButton"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,8 @@ UserControl "DiscordChatExporter.Gui.Views.SettingsDialog" {
|
|||
Command: DialogHost.CloseDialogCommand
|
||||
Content: "SAVE"
|
||||
HorizontalAlignment: Right
|
||||
IsDefault: true
|
||||
IsCancel: true
|
||||
Style: resource dyn "MaterialDesignFlatButton"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue