是否可以将长选项包装在选择列表中?
我有一个动态选择列表,其中一些选项很长。我想要的选项太长而无法包装到下一行。除此之外,我还要缩进这些行。
如果不可能的话,我的解决方案是将结果修剪为n字符。
这是我所拥有的:
I'm a short option
This is a really really really long option
This one isn't too bad
But whoa look how long I am! I go on forever!
这就是我想要的:
I'm a short option
This is a really really
really long option
This one isn't too bad
But whoa look how long
I am! I go on forever!
精慕HU
蛊毒传说