Revert 150ffa3

This reverts commit 150ffa37804501f5fd88fede51c4647bcdddd85c.
fix #10405: limit expression widget size