Browse Source

Fixing AddOwner on LineHeight for TextPresenter

pull/8139/head
Brett Story 4 years ago
parent
commit
b26dc16827
  1. 2
      src/Avalonia.Controls/Presenters/TextPresenter.cs

2
src/Avalonia.Controls/Presenters/TextPresenter.cs

@ -69,7 +69,7 @@ namespace Avalonia.Controls.Presenters
/// Defines the <see cref="LineHeight"/> property.
/// </summary>
public static readonly StyledProperty<double> LineHeightProperty =
TextBlock.LineHeightProperty.AddOwner<TextBox>();
TextBlock.LineHeightProperty.AddOwner<TextPresenter>();
/// <summary>
/// Defines the <see cref="Background"/> property.

Loading…
Cancel
Save