You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
Today I installed Avalonia version 11.2.0-rc2. I encountered a strange problem that I had to downgrade to version 11.1.4, which is a stable version. When I upgraded Avalonia to version 11.2.0-rc2, the Content I intended for the Button disappeared. If I changed the HorizontalAlignment or VerticalAlignment of the TextBlock inside the Button from DevTools, the text of the Button would be temporarily displayed, but it would disappear again after changing the window size.
I did not have this problem in the previous version, but after the upgrade I encountered this problem.
When I reduced the size of the window to its minimum, the text inside the button was visible. It was as if the text was stuck to the left or right (based on FlowDirection) side of the window, and then the text would fall into place after the window was resized.
Describe the bug
Hello
Today I installed Avalonia version 11.2.0-rc2. I encountered a strange problem that I had to downgrade to version 11.1.4, which is a stable version. When I upgraded Avalonia to version 11.2.0-rc2, the Content I intended for the Button disappeared. If I changed the HorizontalAlignment or VerticalAlignment of the TextBlock inside the Button from DevTools, the text of the Button would be temporarily displayed, but it would disappear again after changing the window size.
I did not have this problem in the previous version, but after the upgrade I encountered this problem.
When I reduced the size of the window to its minimum, the text inside the button was visible. It was as if the text was stuck to the left or right (based on FlowDirection) side of the window, and then the text would fall into place after the window was resized.
My button style is defined as below:
And this is my button:
To Reproduce
Upgrade to version 11.2.0-rc2
Expected behavior
The text inside the Button should be displayed in the middle of it
Avalonia version
11.2.0-rc2
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: