AvaloniaEdit icon indicating copy to clipboard operation
AvaloniaEdit copied to clipboard

AvaloniaEdit first FontSize change is not applied directly

Open FG-rgb opened this issue 1 year ago • 1 comments

Describe the bug

When using AvaloniaEdit.TextEditor, changing the FontSize is not applied on first change.

OperatingSystem: Windows 10 Professional Version 22H2 (Build 19045.5011) 64 Bit

To Reproduce

Steps to Reproduce: Use AvaloniaEdit.TextEditor in a UserControl. Add a button to change FontSize in code Behind. Run the project and let the user change the text of it. After that click the button to change the FontSize => The Style AvaloniaEdit.TextEditor is not changed when firstly used. Retry to change the FontSize. => Now the FontSize is changed and directly visible.

Expected behavior

Changing the FontSize should directly be applied/visible on first try.

Avalonia version

11.1.0

OS

Windows

Additional context

No response

FG-rgb avatar Oct 24 '24 11:10 FG-rgb