Files
jdescopingtool/NEW/src/Utils/JdeScoping.ConfigManager.Ui/Views/Dialogs/InputDialog.axaml
T
Joseph Doherty 1fc7792cd1 refactor(configmanager): rename UI project and split test projects
Rename ConfigManager to ConfigManager.Ui to match the Core/CLI/UI project
structure, and split the monolithic test project into Core.Tests,
Cli.Tests, and Ui.Tests to align with the source project organization.
2026-01-28 10:24:36 -05:00

54 lines
2.3 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="JdeScoping.ConfigManager.Ui.Views.Dialogs.InputDialog"
Title="Input"
Width="450" Height="200"
MinWidth="350" MinHeight="180"
Background="#151920"
WindowStartupLocation="CenterOwner"
CanResize="False"
ShowInTaskbar="False">
<DockPanel>
<!-- Header -->
<Border DockPanel.Dock="Top" Background="#1C2128" Padding="24,16"
BorderBrush="#2D3540" BorderThickness="0,0,0,1">
<TextBlock x:Name="TitleText"
Foreground="#E6EDF5" FontSize="18" FontWeight="SemiBold"/>
</Border>
<!-- Footer -->
<Border DockPanel.Dock="Bottom" Background="#1C2128" Padding="24,16"
BorderBrush="#2D3540" BorderThickness="0,1,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="8">
<Button Content="Cancel" Click="CancelButton_Click"
Background="Transparent" BorderBrush="#3D4550"
Foreground="#9BA8B8" Padding="16,8" MinWidth="80"/>
<Button Content="OK" Click="OkButton_Click"
Background="#5C9AFF" Foreground="#0D0F12"
Padding="16,8" FontWeight="Medium" MinWidth="80"/>
</StackPanel>
</Border>
<!-- Content -->
<Grid Background="#151920" Margin="24,16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- Prompt -->
<TextBlock Grid.Row="0" x:Name="PromptText"
Foreground="#9BA8B8" FontSize="14"
Margin="0,0,0,12" TextWrapping="Wrap"/>
<!-- Input -->
<TextBox Grid.Row="1" x:Name="InputTextBox"
Background="#0D0F12" Foreground="#E6EDF5"
BorderBrush="#3D4550" Padding="12"
VerticalContentAlignment="Center"
FontFamily="JetBrains Mono" FontSize="14"/>
</Grid>
</DockPanel>
</Window>