Page 1 of 1

wxListBox item height

Posted: Mon Dec 29, 2008 1:43 pm
by normunds
How to get wxListBox item height?

Posted: Mon Dec 29, 2008 4:35 pm
by spectrum
hi normunds,

i can be wrong, but from a fast look of the documents i don't think you can have the correct line height. Maybe you can obtain it someway from the wxWindow::GetFont(), and then add some "delta".

Maybe if you post what you want to achieve, someone easily will find you a different way to do it.

greetings,

Posted: Tue Dec 30, 2008 8:46 am
by normunds
well, I want to remove vertical scrollbar and show to user all items (by changing wxListBox height)
spectrum wrote:
Maybe if you post what you want to achieve, someone easily will find you a different way to do it.