C
C#4mo ago
logomancy

Need help with strange .NET MAUI Entry Display Behavior

Hello, I'm working on a MAUI app and am testing on Windows. I have a situation where I have two different Entry elements. Each Entry has the IsVisible property bound to a boolean property set in the page's ViewModel. By default, one bool (A) is set to true, and the other (B) is set to false. Entry A appears just fine when the page appears, with the text vertically centered. For some reason, when I press a button to make Entry B appear (B = true, A = false), Entry B has the text stuck at the top of the text box. I've done some experimentation, and whatever boolean is initially set to "true" has the text appear normally, while the other has it stuck at the top. Changing the vertical text alignment property has not fixed this. I've attached a pic of the one that is incorrect. Using the InvertedBoolConverter to just use one boolean property still leads to the same result. The Entries can be identical save for the IsVisible binding, and still have this difference. How can I fix this visual difference?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server