|
371 | 371 | OnContent="{DynamicResource enable}" /> |
372 | 372 | </cc:Card> |
373 | 373 |
|
374 | | - <cc:CardGroup Margin="0 4 0 0"> |
375 | | - <cc:Card |
376 | | - Title="{DynamicResource ShouldUsePinyin}" |
377 | | - Icon="" |
378 | | - Sub="{DynamicResource ShouldUsePinyinToolTip}" |
379 | | - Type="First"> |
380 | | - <ui:ToggleSwitch |
381 | | - IsOn="{Binding ShouldUsePinyin}" |
382 | | - OffContent="{DynamicResource disable}" |
383 | | - OnContent="{DynamicResource enable}" |
384 | | - ToolTip="{DynamicResource ShouldUsePinyinToolTip}" /> |
385 | | - </cc:Card> |
386 | | - <cc:Card |
387 | | - Visibility="{ext:VisibleWhen {Binding ShouldUsePinyin}, |
388 | | - IsEqualToBool=True}" |
389 | | - Title="{DynamicResource ShouldUseDoublePinyin}" |
390 | | - Icon="" |
391 | | - Sub="{DynamicResource ShouldUseDoublePinyinToolTip}" |
392 | | - Type="Middle"> |
| 374 | + <cc:Card |
| 375 | + Title="{DynamicResource ShouldUsePinyin}" |
| 376 | + Margin="0 4 0 0" |
| 377 | + Icon="" |
| 378 | + Sub="{DynamicResource ShouldUsePinyinToolTip}"> |
| 379 | + <ui:ToggleSwitch |
| 380 | + IsOn="{Binding ShouldUsePinyin}" |
| 381 | + OffContent="{DynamicResource disable}" |
| 382 | + OnContent="{DynamicResource enable}" |
| 383 | + ToolTip="{DynamicResource ShouldUsePinyinToolTip}" /> |
| 384 | + </cc:Card> |
| 385 | + |
| 386 | + <cc:ExCard |
| 387 | + Title="{DynamicResource ShouldUseDoublePinyin}" |
| 388 | + Icon="" |
| 389 | + Sub="{DynamicResource ShouldUseDoublePinyinToolTip}"> |
| 390 | + <cc:ExCard.SideContent> |
393 | 391 | <ui:ToggleSwitch |
394 | 392 | IsOn="{Binding UseDoublePinyin}" |
395 | 393 | OffContent="{DynamicResource disable}" |
396 | 394 | OnContent="{DynamicResource enable}" |
397 | 395 | ToolTip="{DynamicResource ShouldUseDoublePinyinToolTip}" /> |
398 | | - </cc:Card> |
399 | | - <cc:Card |
400 | | - Visibility="{ext:VisibleWhen {Binding UseDoublePinyin}, |
401 | | - IsEqualToBool=True}" |
402 | | - Title="{DynamicResource DoublePinyinSchema}" |
403 | | - Sub="{DynamicResource DoublePinyinSchemaToolTip}" |
404 | | - Type="Last"> |
| 396 | + </cc:ExCard.SideContent> |
| 397 | + <cc:Card Title="{DynamicResource DoublePinyinSchema}" Type="InsideFit"> |
405 | 398 | <ComboBox |
406 | 399 | DisplayMemberPath="Display" |
407 | 400 | ItemsSource="{Binding DoublePinyinSchemas}" |
408 | 401 | SelectedValue="{Binding Settings.DoublePinyinSchema}" |
409 | 402 | SelectedValuePath="Value" /> |
410 | 403 | </cc:Card> |
411 | | - </cc:CardGroup> |
| 404 | + </cc:ExCard> |
412 | 405 |
|
413 | 406 | <cc:Card |
414 | 407 | Title="{DynamicResource language}" |
|
0 commit comments