mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-28 17:35:27 +00:00
Refactor
This commit is contained in:
@@ -6,7 +6,7 @@ Window "DiscordChatExporter.Views.MainWindow" {
|
||||
Width: 600
|
||||
Height: 550
|
||||
Background: resource dyn "MaterialDesignPaper"
|
||||
DataContext: bind MainViewModel from $resource Locator
|
||||
DataContext: bind MainViewModel from $resource Container
|
||||
FocusManager.FocusedElement: bind from "TokenTextBox"
|
||||
FontFamily: resource dyn "MaterialDesignFont"
|
||||
SnapsToDevicePixels: true
|
||||
@@ -128,7 +128,7 @@ Window "DiscordChatExporter.Views.MainWindow" {
|
||||
Cursor: CursorType.Hand
|
||||
|
||||
Image {
|
||||
Margin: 6
|
||||
Margin: "12 6 12 6"
|
||||
Width: 48
|
||||
Height: 48
|
||||
Source: bind IconUrl
|
||||
@@ -167,12 +167,12 @@ Window "DiscordChatExporter.Views.MainWindow" {
|
||||
]
|
||||
|
||||
PackIcon {
|
||||
Margin: "4 7 0 6"
|
||||
Margin: "16 7 0 6"
|
||||
Kind: PackIconKind.Pound
|
||||
VerticalAlignment: Center
|
||||
}
|
||||
TextBlock {
|
||||
Margin: "3 6 6 6"
|
||||
Margin: "3 8 8 8"
|
||||
FontSize: 14
|
||||
Text: bind Name
|
||||
VerticalAlignment: Center
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using MaterialDesignThemes.Wpf
|
||||
|
||||
UserControl "DiscordChatExporter.Views.SettingsDialog" {
|
||||
DataContext: bind SettingsViewModel from $resource Locator
|
||||
DataContext: bind SettingsViewModel from $resource Container
|
||||
Width: 250
|
||||
|
||||
StackPanel {
|
||||
|
||||
Reference in New Issue
Block a user