Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix textedit intrinsic size metric (#5275)
Since textedit is doing the justify layout calculation itself, we need to report the original desired_size as intrinsic size, instead of the value passed to allocate_space. I wonder though, is it still necessary that the TextEdit does the justify calculation itself instead of relying on the ui layout to do it? As far as I understand it, justify should be handled by the ui.allocate_space call.
- Loading branch information