mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-20 05:41:27 +00:00
Add IsDefault and IsCancel for all dialog buttons
This commit is contained in:
@@ -19,6 +19,8 @@ UserControl "DiscordChatExporter.Gui.Views.ErrorDialog" {
|
|||||||
Command: DialogHost.CloseDialogCommand
|
Command: DialogHost.CloseDialogCommand
|
||||||
Content: "OK"
|
Content: "OK"
|
||||||
HorizontalAlignment: Right
|
HorizontalAlignment: Right
|
||||||
|
IsDefault: true
|
||||||
|
IsCancel: true
|
||||||
Style: resource dyn "MaterialDesignFlatButton"
|
Style: resource dyn "MaterialDesignFlatButton"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ UserControl "DiscordChatExporter.Gui.Views.ExportDoneDialog" {
|
|||||||
Margin: 8
|
Margin: 8
|
||||||
Click: OpenButton_Click
|
Click: OpenButton_Click
|
||||||
Command: bind OpenCommand
|
Command: bind OpenCommand
|
||||||
Content: "OPEN IT"
|
Content: "OPEN"
|
||||||
|
IsDefault: true
|
||||||
Style: resource dyn "MaterialDesignFlatButton"
|
Style: resource dyn "MaterialDesignFlatButton"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,6 +32,7 @@ UserControl "DiscordChatExporter.Gui.Views.ExportDoneDialog" {
|
|||||||
Margin: 8
|
Margin: 8
|
||||||
Command: DialogHost.CloseDialogCommand
|
Command: DialogHost.CloseDialogCommand
|
||||||
Content: "DISMISS"
|
Content: "DISMISS"
|
||||||
|
IsCancel: true
|
||||||
Style: resource dyn "MaterialDesignFlatButton"
|
Style: resource dyn "MaterialDesignFlatButton"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ UserControl "DiscordChatExporter.Gui.Views.ExportSetupDialog" {
|
|||||||
Margin: 8
|
Margin: 8
|
||||||
Command: DialogHost.CloseDialogCommand
|
Command: DialogHost.CloseDialogCommand
|
||||||
Content: "CANCEL"
|
Content: "CANCEL"
|
||||||
|
IsCancel: true
|
||||||
Style: resource dyn "MaterialDesignFlatButton"
|
Style: resource dyn "MaterialDesignFlatButton"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ UserControl "DiscordChatExporter.Gui.Views.SettingsDialog" {
|
|||||||
Command: DialogHost.CloseDialogCommand
|
Command: DialogHost.CloseDialogCommand
|
||||||
Content: "SAVE"
|
Content: "SAVE"
|
||||||
HorizontalAlignment: Right
|
HorizontalAlignment: Right
|
||||||
|
IsDefault: true
|
||||||
|
IsCancel: true
|
||||||
Style: resource dyn "MaterialDesignFlatButton"
|
Style: resource dyn "MaterialDesignFlatButton"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user