How can i do like this?
I know it’s possible to do it this way but I want it to show automatically according to the space. Like Nio-tron which has an option called Ellipsize (End).