wxListBox item height

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

wxListBox item height

Post by normunds »

How to get wxListBox item height?
valodas - free cross-platform language learning software
http://www.valodas.com
spectrum
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 207
Joined: Sat Jul 21, 2007 12:17 pm

Post 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,
spectrum
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Post 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.
valodas - free cross-platform language learning software
http://www.valodas.com
Post Reply