Re: Line height

2009-12-13 Thread Mattia Barbon
Johan Vromans wrote: Hi, I have a Wx::TextCtrl that contains a series of words. Its contents are wrapped if too long. I want it to always show two lines of text, and a scrollbar if there's more than two lines to show. Piece of cake? Yes, except that I cannot find the right value for the height

Line height

2009-12-13 Thread Johan Vromans
Hi, I have a Wx::TextCtrl that contains a series of words. Its contents are wrapped if too long. I want it to always show two lines of text, and a scrollbar if there's more than two lines to show. Piece of cake? Yes, except that I cannot find the right value for the height of the TextCtrl. I tri