Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Tarquiscani

#1
Hello, I did a search but I couldn't find anything, or maybe I didn't hang on enough.
The ListBox is the really one perfect thing I need, but I'm on a small 17'' 4k screen and the automatic fit of the text doesn't seem to work. I don't know if something is changed since this answer:
QuoteThe text size can't be changed directly in ListBox. You have to set the height of the items with setItemHeight. (The text size is internally set to 0.8 * itemHeight)
I did this so that you can easily predict the amount of visible items. If the height is 200 and you set the item height to 20 then there are 10 visible items. If you would be setting the text height then you have no idea how many items fit (since there has to be a small space between the lines).



What is a possible solution?