Sub SingleLineCS (cs As CSBuilder) As CSBuilder
Dim ParaStyle As NativeObject
ParaStyle = ParaStyle.Initialize("NSMutableParagraphStyle").RunMethod("alloc",Null).RunMethod("init",Null)
ParaStyle.SetField("alignment",2)
ParaStyle.SetField("lineBreakMode", 4)
cs.As(NativeObject).RunMethod("addAttribute:value:range:", Array("NSParagraphStyle", ParaStyle, cs.As(NativeObject).MakeRange(0, cs.Length)))
Return cs
End Sub
You want to maintain the single line in CLV item and show "..." if the text would exceed in two or more lines?
And then show the entire text when clicking?
In this case I think that JavaObject it's not needed.
It would be easier to have your project, if possible, to work on it.
You want to maintain the single line in CLV item and show "..." if the text would exceed in two or more lines?
And then show the entire text when clicking?
In this case I think that JavaObject it's not needed.
It would be easier to have your project, if possible, to work on it.
Do not care about my question a lot
The important thing is that I want a solution to this problem
Even in another way
And if the answer is contrary to the way in the question
i can´t help with that. I can not read anything from this output. I´m not interested in understanding this language either.
You probably have to split the long text by yourself and add a ... at the end so it matches one line.
As it is a Specialized CLV I don't know how much it's customizable.
I am not used to it.
Sorry.
I thought that it was an experiment, as it was populated as a normal CLV.
My mistake.
But I think I am not able to help you further.
As it is a Specialized CLV I don't know how much it's customizable.
I am not used to it.
Sorry.
I thought that it was an experiment, as it was populated as a normal CLV.
My mistake.
But I think I am not able to help you further.