|
11 | 11 | d:DesignWidth="600" |
12 | 12 | mc:Ignorable="d"> |
13 | 13 |
|
14 | | - <Page.Resources> |
15 | | - <ResourceDictionary> |
16 | | - <ResourceDictionary.MergedDictionaries> |
17 | | - <ResourceDictionary> |
18 | | - <ResourceDictionary.MergedDictionaries> |
19 | | - <ResourceDictionary Source="pack://application:,,,/ColorPicker;component/Styles/DefaultColorPickerStyle.xaml" /> |
20 | | - </ResourceDictionary.MergedDictionaries> |
21 | | - </ResourceDictionary> |
22 | | - </ResourceDictionary.MergedDictionaries> |
23 | | - </ResourceDictionary> |
24 | | - </Page.Resources> |
25 | | - |
26 | 14 | <StackPanel Margin="20"> |
27 | 15 | <DockPanel> |
28 | 16 | <Grid |
29 | | - Width="300" |
| 17 | + Width="150" |
30 | 18 | Height="32" |
31 | 19 | DockPanel.Dock="Right"> |
32 | 20 | <colorPicker:PortableColorPicker |
33 | 21 | SelectedColor="{Binding SurfaceColor, Mode=TwoWay, Delay=10}" |
34 | 22 | ShowAlpha="False" |
35 | 23 | ShowFractionalPart="False" |
36 | 24 | SmallChange="5" |
37 | | - Style="{StaticResource DefaultColorPickerStyle}" |
| 25 | + Style="{DynamicResource DefaultColorPickerStyle}" |
38 | 26 | UseHintColor="False" /> |
39 | 27 | </Grid> |
40 | 28 | <CheckBox |
|
76 | 64 | </StackPanel> |
77 | 65 | <DockPanel Margin="0,8,0,0"> |
78 | 66 | <Grid |
79 | | - Width="300" |
| 67 | + Width="150" |
80 | 68 | Height="32" |
81 | 69 | DockPanel.Dock="Right"> |
82 | 70 | <colorPicker:PortableColorPicker |
83 | 71 | SelectedColor="{Binding MeshColor, Mode=TwoWay, Delay=10}" |
84 | 72 | ShowAlpha="False" |
85 | 73 | ShowFractionalPart="False" |
86 | 74 | SmallChange="5" |
87 | | - Style="{StaticResource DefaultColorPickerStyle}" |
| 75 | + Style="{DynamicResource DefaultColorPickerStyle}" |
88 | 76 | UseHintColor="False" /> |
89 | 77 | </Grid> |
90 | 78 | <CheckBox |
|
94 | 82 | </DockPanel> |
95 | 83 | <DockPanel Margin="0,8,0,0"> |
96 | 84 | <Grid |
97 | | - Width="300" |
| 85 | + Width="150" |
98 | 86 | Height="32" |
99 | 87 | DockPanel.Dock="Right"> |
100 | 88 | <colorPicker:PortableColorPicker |
101 | 89 | SelectedColor="{Binding NormalVectorColor, Mode=TwoWay, Delay=10}" |
102 | 90 | ShowAlpha="False" |
103 | 91 | ShowFractionalPart="False" |
104 | 92 | SmallChange="5" |
105 | | - Style="{StaticResource DefaultColorPickerStyle}" |
| 93 | + Style="{DynamicResource DefaultColorPickerStyle}" |
106 | 94 | UseHintColor="False" /> |
107 | 95 | </Grid> |
108 | 96 | <CheckBox |
|
0 commit comments