Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AvaloniaUI/Avalonia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 11.2.6
Choose a base ref
...
head repository: AvaloniaUI/Avalonia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 11.2.7
Choose a head ref
  • 4 commits
  • 27 files changed
  • 4 contributors

Commits on Apr 11, 2025

  1. Fix issue with OverhangLeading (#18438)

    * Fix issue with MinTextWidth (Fixes #18372)
    
    * Make sure that MeasureOverride for TextPresenter and TextBlock are using same textWidth
    
    * Revert #16601 that is introducing an invalid calculation for the OverhangLeading
    
    Add tests for OverhangLeading and OverhangTrailing
    
    * Revert MinTextWidth
    
    * Fix tests to not rely on fixed values
    
    * Fix remaining issues
    
    * Fix comment in Direct2D1 GlyphRunImpl.cs
    
    * Fix Direct2D1 rendering
    
    * Fix gold images
    
    * Restore TextLineImpl
    
    * Update gold image
    
    * Restore Math.Max on OverhangLeading and Trailing
    
    * Adopt similar behavior to WPF: don't use OverhangLeading/Trailing for measuring and remove clip by default.
    
    But it requires further support with NeedsClipBounds
    
    * Remove MinTextWidth
    Keep ClipToBounds=true default for TextBlock
    
    * Revert change
    
    ---------
    
    Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
    #Conflicts:
    #	src/Avalonia.Controls/TextBlock.cs
    #	tests/Avalonia.Controls.UnitTests/TextBlockTests.cs
    2 people authored and MrJul committed Apr 11, 2025
    Configuration menu
    Copy the full SHA
    5a8ce64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08a9f7b View commit details
    Browse the repository at this point in the history
  3. Fix datepicker not refreshing format when date format changes (#18599)

    * fix DatePicker not refresh when  MonthFormat or YearFormat changed
    
    * use SetSelectedDateText instead
    seishinkouki authored and MrJul committed Apr 11, 2025
    Configuration menu
    Copy the full SHA
    0200ca4 View commit details
    Browse the repository at this point in the history
  4. Version 11.2.7

    MrJul committed Apr 11, 2025
    Configuration menu
    Copy the full SHA
    8cbf39e View commit details
    Browse the repository at this point in the history
Loading