From 2f20dee00ef486265b012af5892377116784c16d Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Wed, 6 Nov 2024 19:33:41 +0000 Subject: [PATCH] added border to prompt (#15614) --- .../UI/Prompts/PortPropertiesEditPrompt.xaml | 83 ++++++++++--------- .../Prompts/PortPropertiesEditPrompt.xaml.cs | 46 +++++++++- 2 files changed, 88 insertions(+), 41 deletions(-) diff --git a/src/DynamoCoreWpf/UI/Prompts/PortPropertiesEditPrompt.xaml b/src/DynamoCoreWpf/UI/Prompts/PortPropertiesEditPrompt.xaml index 4008e0d78b6..8db11fca7d9 100644 --- a/src/DynamoCoreWpf/UI/Prompts/PortPropertiesEditPrompt.xaml +++ b/src/DynamoCoreWpf/UI/Prompts/PortPropertiesEditPrompt.xaml @@ -2,14 +2,15 @@ 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:local="clr-namespace:UI.Prompts" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:Dynamo.Wpf.Properties;assembly=DynamoCoreWpf" xmlns:ui="clr-namespace:Dynamo.UI" - mc:Ignorable="d" Width="450" + Height="368" WindowStartupLocation="CenterOwner" - WindowStyle="None"> + WindowStyle="None" + mc:Ignorable="d"> @@ -31,26 +32,26 @@ + Padding="8,10" + Background="#353535" + BorderThickness="0" + CaretBrush="{StaticResource Blue300Brush}" + Focusable="True" + FontFamily="{StaticResource ArtifaktElementRegular}" + FontSize="12px" + Foreground="{StaticResource PrimaryCharcoal200Brush}" + MaxLength="{TemplateBinding MaxLength}" + Tag="{TemplateBinding Tag}" + Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}" + TextWrapping="Wrap" /> + Padding="10" + FontFamily="{StaticResource ArtifaktElementRegular}" + FontSize="12px" + Foreground="{StaticResource PrimaryCharcoal200Brush}" + IsHitTestVisible="False" + Opacity="0.5" + Text="{TemplateBinding Tag}"> -