RynthCore/src/RynthCore.App.Avalonia/AccountProfileDialog.axaml
Tom Bohar 68c301dac8 RynthCore as of 2026-09-05 (internal f9abab9)
A snapshot of the working tree for aelrynth.com/git/: the code, build files
and public docs. Internal review notes and agent instructions are left out.
MIT licensed; see LICENSE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 21:22:59 -04:00

52 lines
2.5 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="RynthCore.App.Avalonia.AccountProfileDialog"
Width="600"
Height="620"
CanResize="False"
WindowStartupLocation="CenterOwner"
Title="Account Profile"
Background="#132028">
<Grid RowDefinitions="*,Auto" Margin="18">
<StackPanel Spacing="12">
<TextBlock Text="Server" Foreground="#EAF0F4" />
<ComboBox x:Name="ServerComboBox" HorizontalAlignment="Stretch" />
<TextBlock Text="Account" Foreground="#EAF0F4" />
<TextBox x:Name="AccountBox" />
<TextBlock Text="Password" Foreground="#EAF0F4" />
<TextBox x:Name="PasswordBox"
PasswordChar="*"
RevealPassword="False"
Watermark="Leave blank to keep the saved password hidden" />
<CheckBox x:Name="ClearPasswordCheckBox"
Content="Clear saved password"
Foreground="#EAF0F4" />
<TextBlock x:Name="PasswordHintText"
Foreground="#9AA8B3"
TextWrapping="Wrap" />
<TextBlock Text="Alias" Foreground="#EAF0F4" />
<TextBox x:Name="AliasBox" />
<TextBlock Text="Per-account UserPreferences.ini stash (optional)" Foreground="#EAF0F4" />
<Grid ColumnDefinitions="*,Auto,Auto">
<TextBox x:Name="UserPrefsPathBox"
Grid.Column="0"
Margin="0,0,6,0"
Watermark="Leave blank to share the global UserPreferences.ini" />
<Button x:Name="BrowseUserPrefsButton" Grid.Column="1" Margin="0,0,6,0" Content="Browse..." />
<Button x:Name="SnapshotUserPrefsButton" Grid.Column="2" Content="Snapshot live →" />
</Grid>
<TextBlock x:Name="UserPrefsHintText"
Foreground="#9AA8B3"
TextWrapping="Wrap"
Text="Leave blank for the default path under %APPDATA%\RynthCore\prefs. The launcher snapshots live UserPreferences.ini back to the stash automatically when this client exits, so per-account chat tabs / hotkeys / UI layout persist across sessions." />
<TextBlock x:Name="ValidationText" Foreground="#E2B348" TextWrapping="Wrap" />
</StackPanel>
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Spacing="8" Margin="0,16,0,0">
<Button x:Name="CancelButton" Content="Cancel" />
<Button x:Name="SaveButton" Content="Save" />
</StackPanel>
</Grid>
</Window>