Files
cursor-lang/CursorLang/Views/LayoutPopupWindow.xaml
T
2026-08-08 21:48:16 +05:00

30 lines
1.2 KiB
XML

<Window x:Class="CursorLang.Views.LayoutPopupWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:vm="clr-namespace:CursorLang.ViewModels"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=vm:LayoutPopupViewModel}"
WindowStyle="None"
ResizeMode="NoResize"
AllowsTransparency="True"
Background="Transparent"
ShowInTaskbar="False"
ShowActivated="False"
Topmost="True"
Focusable="False"
IsHitTestVisible="False"
Opacity="{Binding Settings.Opacity}">
<Border CornerRadius="4"
Padding="10,4">
<Border.Background>
<SolidColorBrush Color="{Binding Settings.BackgroundColor}" />
</Border.Background>
<TextBlock Foreground="White"
FontWeight="SemiBold"
FontSize="{Binding Settings.FontSize}"
Text="{Binding ShortName}" />
</Border>
</Window>