Hi,I use an UltraFormattedLinkLabel to view a list of customers.I set AutoSize = True and ScrollBarDisplayStyle = Automatic. The problem comes when the label shows too many customers for the screen size and activate the scrollbar. The vertical scroolbar takes the space reserved to show customer names and therefore the horizontal scrollbar is activated too, making the names almost unreadable.Here I paste a screen showing the problem. The example shows the string "MY_TEST" repeated every line.I would like the vertical scrollbar space was calculated after the shown text. Is it possible?
Thank you very much!Stefano
Hi Mike,
Thank you for the reply and sorry for my bad english.
To make it easier to explain, I'll use some screenshots...
This is what the label looks when I set Autosize = True, ScrollbarDisplayStyle = Automatic and there are only few Items to show, it works fine!
This is what the label looks when I set Autosize = True, ScrollbarDisplayStyle = Automatic and there are many Items to show. The vertical scrollbar is activated making the label text ureadable.
And this is what I would like to obtain:
The problem comes only when there are many items to show and the label size get higher than its available space.
I hope I was clear, thank you.
Stefano
stemare said:I would like the vertical scrollbar space was calculated after the shown text. Is it possible?
I'm afraid I don't understand what you mean.The question does not make sense to me. What do you mean by "vertical scrollbar space"?