Open zhangtuoyu opened 4 months ago
@enisn any thoughts about this, i have attempted to call Invalidate()
(hoping it will enforce the border view to be redrawn/ remeasured based on the new Title value) on both base objects or it children but without success.
But something definitely wrong, from what I have noticed, it's dedicates the space (border) based on the previous value of Title, for instance;
Title | View |
---|---|
Abcd | ---- Abcd -------- |
Abcdefghijk | ---- Abcd |
Abcd | ---- Abcd --- |
I will try to provide a test repo if necessary.
I could reproduce a similar behavior. It delays rendering for optimization but it seems it causes this problem. I'll check what can I do on it 👍
Code: