2025-06-22 22:11:27 +03:00
|
|
|
<UserControl xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:popup="clr-namespace:Nebula.Launcher.ViewModels.Popup"
|
2025-06-23 16:39:30 +03:00
|
|
|
xmlns:customControls="clr-namespace:Nebula.Launcher.Controls"
|
2025-06-22 22:11:27 +03:00
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
|
|
x:Class="Nebula.Launcher.Views.Popup.EditServerNameView"
|
|
|
|
|
x:DataType="popup:EditServerNameViewModel">
|
|
|
|
|
<Design.DataContext>
|
|
|
|
|
<popup:EditServerNameViewModel />
|
|
|
|
|
</Design.DataContext>
|
|
|
|
|
|
|
|
|
|
<StackPanel Margin="15" Spacing="10">
|
|
|
|
|
<Border BoxShadow="{StaticResource DefaultShadow}">
|
|
|
|
|
<TextBlock Text="{Binding IpInput}" Margin="10,8,10,8"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border BoxShadow="{StaticResource DefaultShadow}">
|
|
|
|
|
<TextBox Text="{Binding NameInput}" Watermark="custom server name" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Background="{StaticResource DefaultSelected}" BoxShadow="{StaticResource DefaultShadow}">
|
|
|
|
|
<Button Command="{Binding OnEnter}" HorizontalAlignment="Stretch">
|
2025-06-23 16:39:30 +03:00
|
|
|
<customControls:LocalizedLabel HorizontalAlignment="Center" LocalId="servername-set"/>
|
2025-06-22 22:11:27 +03:00
|
|
|
</Button>
|
|
|
|
|
</Border>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</UserControl>
|