diff --git a/src/Chronos.App/Editor/CardColumns.cs b/src/Chronos.App/Editor/CardColumns.cs deleted file mode 100644 index 21bb5748..00000000 --- a/src/Chronos.App/Editor/CardColumns.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Globalization; -using System.Windows.Data; - -namespace Chronos.App.Editor; - -/// Columns of the Export tab's preset grid: as many as fit at (four at 1440 px, three at 1200 px). -public sealed class CardColumns : IValueConverter -{ - public const double MinCardWidth = 200; - - public static CardColumns Instance { get; } = new(); - - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) => - value is double width && double.IsFinite(width) ? int.Max(1, (int)(width / MinCardWidth)) : 4; - - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotSupportedException(); -} diff --git a/src/Chronos.App/Editor/EditorMeasures.xaml b/src/Chronos.App/Editor/EditorMeasures.xaml index 9f0d062f..7bf8507a 100644 --- a/src/Chronos.App/Editor/EditorMeasures.xaml +++ b/src/Chronos.App/Editor/EditorMeasures.xaml @@ -7,7 +7,7 @@ @@ -272,44 +272,80 @@ - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Chronos.App/Editor/EditorPanels.xaml b/src/Chronos.App/Editor/EditorPanels.xaml index ed534cf6..ba0bc537 100644 --- a/src/Chronos.App/Editor/EditorPanels.xaml +++ b/src/Chronos.App/Editor/EditorPanels.xaml @@ -371,51 +371,76 @@ - + + + + + + + + + + + + + + - - - - - - - -