|
38 | 38 | </Grid>
|
39 | 39 |
|
40 | 40 | <!-- Body -->
|
41 |
| - <Grid Grid.Row="1" ColumnDefinitions="200,*" Height="340" Margin="8,8,8,16"> |
| 41 | + <Grid Grid.Row="1" ColumnDefinitions="200,*" MinHeight="340" Margin="8,8,8,16"> |
42 | 42 | <Border Grid.Column="0"
|
43 | 43 | BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}"
|
44 | 44 | Background="{DynamicResource Brush.Contents}">
|
|
138 | 138 | <TextBox Margin="0,4,0,0"
|
139 | 139 | CornerRadius="3"
|
140 | 140 | Height="28"
|
141 |
| - Text="{Binding Description, Mode=TwoWay}" |
142 |
| - Watermark="{DynamicResource Text.ConfigureCustomActionControls.Description.Placeholder}"/> |
| 141 | + Text="{Binding Description, Mode=TwoWay}"/> |
| 142 | + <TextBlock Margin="0,2,0,0" |
| 143 | + TextWrapping="Wrap" |
| 144 | + Text="{DynamicResource Text.ConfigureCustomActionControls.Description.Tip}" |
| 145 | + Foreground="{DynamicResource Brush.FG2}"/> |
143 | 146 |
|
144 | 147 | <!-- Default value -->
|
145 | 148 | <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.ConfigureCustomActionControls.DefaultValue}"/>
|
|
170 | 173 | CornerRadius="3"
|
171 | 174 | Height="28"
|
172 | 175 | Text="{Binding StringValue, Mode=TwoWay}"
|
173 |
| - IsVisible="{Binding Type, Converter={x:Static ObjectConverters.Equal}, ConverterParameter={x:Static m:CustomActionControlType.CheckBox}}"/> |
| 176 | + IsVisible="{Binding Type, Converter={x:Static ObjectConverters.Equal}, ConverterParameter={x:Static m:CustomActionControlType.CheckBox}}"/> |
| 177 | + <TextBlock Margin="0,2,0,0" |
| 178 | + TextWrapping="Wrap" |
| 179 | + Text="{DynamicResource Text.ConfigureCustomActionControls.CheckedValue.Tip}" |
| 180 | + IsVisible="{Binding Type, Converter={x:Static ObjectConverters.Equal}, ConverterParameter={x:Static m:CustomActionControlType.CheckBox}}" |
| 181 | + Foreground="{DynamicResource Brush.FG2}"/> |
174 | 182 | </StackPanel>
|
175 | 183 | </DataTemplate>
|
176 | 184 | </ContentControl.DataTemplates>
|
|
0 commit comments