blob: 5203266432f82bdd10711d11ec78cba579f90d23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<UserControl x:Class="Tango.FSE.Diagnostics.Project.Widgets.Text.TextWidgetSettingsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:Tango.FSE.Common.Controls;assembly=Tango.FSE.Common"
xmlns:colorPicker="clr-namespace:Tango;assembly=Tango.ColorPicker"
xmlns:material="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Tango.FSE.Diagnostics.Project.Widgets.Text"
mc:Ignorable="d"
d:DesignHeight="700" d:DesignWidth="300" d:DataContext="{d:DesignInstance Type=local:TextWidget,IsDesignTimeCreatable=False}">
<Grid>
<StackPanel>
<controls:FSEGroupBox Header="TEXT" HeaderFontSize="{StaticResource FSE_SmallFontSize}">
<TextBox Text="{Binding Text,UpdateSourceTrigger=PropertyChanged}"></TextBox>
</controls:FSEGroupBox>
<controls:FSEGroupBox Header="COLOR" Margin="0 10 0 0" HeaderFontSize="{StaticResource FSE_SmallFontSize}">
<Viewbox>
<colorPicker:ColorCanvas Background="Transparent" BorderThickness="0" FontSize="{StaticResource FSE_SmallerFontSize}" SelectedColor="{Binding Color,Mode=TwoWay}" />
</Viewbox>
</controls:FSEGroupBox>
</StackPanel>
</Grid>
</UserControl>
|