This commit is contained in:
lincube
2026-03-20 10:22:40 +08:00
parent 915739ff7b
commit aeae4be060
40 changed files with 1666 additions and 571 deletions

View File

@@ -107,8 +107,8 @@ public partial class StudyNoiseCurveWidget : UserControl, IDesktopComponentWidge
RootBorder.CornerRadius = ComponentChromeCornerRadiusHelper.Scale(_currentCellSize * 0.44, 14, 42);
RootBorder.Padding = new Thickness(
Math.Clamp(14 * scale, 8, 22),
Math.Clamp(10 * scale, 6, 16));
ComponentChromeCornerRadiusHelper.SafeValue(14 * scale, 8, 22),
ComponentChromeCornerRadiusHelper.SafeValue(10 * scale, 6, 16));
StatusTextBlock.FontSize = Math.Clamp(16 * scale, 12, 30);
RealtimeValueTextBlock.FontSize = Math.Clamp(18 * scale, 12, 34);