From 89dee591c262e536c796e61a446fb40f67eae090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C4=8Cech?= Date: Tue, 6 Oct 2026 15:19:50 +0200 Subject: [PATCH] fix: show the releases as a top pane and let the release page shrink with the dialog (#50) --- FluentMath/Views/ReleaseNotesDialog.xaml | 24 ++++++++++++++++++--- FluentMath/Views/ReleaseNotesDialog.xaml.cs | 4 ++-- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/FluentMath/Views/ReleaseNotesDialog.xaml b/FluentMath/Views/ReleaseNotesDialog.xaml index 30e6c08..1340cef 100644 --- a/FluentMath/Views/ReleaseNotesDialog.xaml +++ b/FluentMath/Views/ReleaseNotesDialog.xaml @@ -33,6 +33,7 @@ + @@ -76,7 +77,12 @@ - + + + + + 0 + + + + + @@ -114,6 +132,6 @@ TextWrapping="Wrap" Visibility="Collapsed" /> - + diff --git a/FluentMath/Views/ReleaseNotesDialog.xaml.cs b/FluentMath/Views/ReleaseNotesDialog.xaml.cs index d67ed11..baa1b31 100644 --- a/FluentMath/Views/ReleaseNotesDialog.xaml.cs +++ b/FluentMath/Views/ReleaseNotesDialog.xaml.cs @@ -21,9 +21,9 @@ public sealed partial class ReleaseNotesDialog : ContentDialog // in px; the window can be far narrower than the dialog, so both sides are capped to a share of it private const double DialogWidth = 550; private const double MaxDialogHeight = 740; - private const double MinDialogHeight = 460; + private const double MinDialogHeight = 400; private const double HeightFraction = 0.85; // of the window height - private const double MaxWindowShare = 0.95; // of the window width and height + private const double MaxWindowShare = 1.0; // of the window width and height // === constructor ===